mirror of
https://github.com/arduino/Arduino.git
synced 2024-11-29 10:24:12 +01:00
a991f26b8d
All the while() loops that check for the SPI transfer to be complete have the semi-colon immediately after the closing parenthesis. This both causes a compiler warning of "warning: suggest a space before ';' or explicit braces around empty body in 'while' statement", and is considered a less-than-ideal programming practice. This patch breaks the semi-colon on to the next line, both eliminating the compiler error and making the code more readable. In all probability the test should be moved into a macro or a inlineable sub-routine. |
||
---|---|---|
.. | ||
Audio | ||
Bridge | ||
Esplora | ||
Ethernet | ||
Firmata | ||
GSM | ||
LiquidCrystal | ||
Robot_Control | ||
Robot_Motor | ||
RobotIRremote | ||
Scheduler | ||
SD | ||
Servo | ||
SpacebrewYun | ||
Stepper | ||
Temboo | ||
TFT | ||
USBHost | ||
WiFi |