CLKFREQ change during runtime
Laci82
Posts: 1
Hello,
I have a problem with the clkfreq.
I try to open a file (it is working), but the clkFreq value change during this process and I don't know why. The value befor open: 80.000.000, value after : 3.
Code:
ser.dec(clkfreq)
waitcnt(cnt + 2 * clkfreq)
if strcomp(fsrw.openFile(fileNamePtr,"r"),fileNamePtr) == false
ser.str(string(13,10,"File not found!"))
return -1'fail
ser.dec(clkfreq)
waitcnt(cnt + 2 * clkfreq)
Please Help!
Laci
I have a problem with the clkfreq.
I try to open a file (it is working), but the clkFreq value change during this process and I don't know why. The value befor open: 80.000.000, value after : 3.
Code:
ser.dec(clkfreq)
waitcnt(cnt + 2 * clkfreq)
if strcomp(fsrw.openFile(fileNamePtr,"r"),fileNamePtr) == false
ser.str(string(13,10,"File not found!"))
return -1'fail
ser.dec(clkfreq)
waitcnt(cnt + 2 * clkfreq)
Please Help!
Laci
Comments
LONG[ Pointer ] := 3
will change CLKFREQ to 3 if Pointer is zero.