??? 06/02/09 13:19 Read: times Msg Score: 0 +1 Informative -1 Overrated |
#165749 - W_D_TIMER = 0xfffe; Responding to: ???'s previous message |
PC-Lint is correct to warn here. Due to integer promotion
W_D_TIMER = ~W_D_TIMER; might give the unexpected result of setting W_D_TIMER. See f.e. previous discussion here: http://sourceforge.net/mailarchi...rman.ok.us |
Topic | Author | Date |
PC Lint warning: Toggling WatchDog | 01/01/70 00:00 | |
How to post legible source code | 01/01/70 00:00 | |
Check what happens if you use ! | 01/01/70 00:00 | |
Try This | 01/01/70 00:00 | |
Toggling Watchdog | 01/01/70 00:00 | |
Tried ! yet? | 01/01/70 00:00 | |
Toggling WatchDog | 01/01/70 00:00 | |
Still missing the point!![]() | 01/01/70 00:00 | |
W_D_TIMER = 0xfffe; | 01/01/70 00:00 | |
It is correct for Keil | 01/01/70 00:00 | |
Not a hole in the C spec | 01/01/70 00:00 |