??? 06/23/09 11:44 Read: times |
#166380 - stdbool Responding to: ???'s previous message |
It is good practice to use bool variables to hold true/false states. By #including <stdbool.h> (which SDCC provide) you get portable booleans that get mapped to bit memory. |
Topic | Author | Date |
UART code porting to SDCC | 01/01/70 00:00 | |
doesn't SDCC warn about line 36? | 01/01/70 00:00 | |
that's it | 01/01/70 00:00 | |
ah ha | 01/01/70 00:00 | |
Don't blame the optimiser! | 01/01/70 00:00 | |
doesn't SDCC warn about line 36 | 01/01/70 00:00 | |
hmmm | 01/01/70 00:00 | |
modified dog![]() | 01/01/70 00:00 | |
I cannot remember now | 01/01/70 00:00 | |
xmt_flag., why "int"? | 01/01/70 00:00 | |
if you want to use it as "int" / "char" | 01/01/70 00:00 | |
You destroy succeding putchar()'s | 01/01/70 00:00 | |
"Volatile" Helps | 01/01/70 00:00 | |
"bit" is more useful | 01/01/70 00:00 | |
buzzzzz | 01/01/70 00:00 | |
family | 01/01/70 00:00 | |
stdbool | 01/01/70 00:00 |