??? 06/02/09 06:14 Read: times |
#165733 - Check what happens if you use ! Responding to: ???'s previous message |
~ is a bitwise negate - normally intended for char, int or similar.
sbit is more like a boolean, since it only has two states. There are no extra bits to invert the state of. Check what lint thinks about the logical negate (!) instead. |
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 |