Any difference between these two while loops?
Posted
by CHAN
on Stack Overflow
See other posts from Stack Overflow
or by CHAN
Published on 2010-03-30T04:54:43Z
Indexed on
2010/03/30
5:03 UTC
Read the original article
Hit count: 240
Filed under:
c
while ((R_SPI2SR & B_SPIF) != B_SPIF)
{
SERIAL_SERVICE_WDOG;
};
while ((R_SPI2SR & B_SPIF) != B_SPIF)
{
SERIAL_SERVICE_WDOG;
}
I like to know what is the purpose in putting semicolon..
© Stack Overflow or respective owner