FOME-Tech / fome-fw

Free Open Motorsports ECU
https://www.fome.tech
Other
43 stars 22 forks source link

keep it simple #333

Closed rusefillc closed 8 months ago

mck1117 commented 8 months ago

You actually do want the do...while(false), because that forces it to be a single statement that requires a semicolon, instead of two statements.

see https://stackoverflow.com/questions/923822/whats-the-use-of-do-while0-when-we-define-a-macro