1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-11-29 10:24:12 +01:00
Arduino/libraries
J.C. Wren a991f26b8d Sd2Card.cpp: fix compiler warning
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.
2014-02-19 16:09:30 +01:00
..
Audio Audio library to format 1.5 rev.2 2013-12-27 01:32:36 +01:00
Bridge Add error handling and optimize FileIO::doBuffer() in the Bridge library 2014-01-04 18:05:06 -06:00
Esplora Run new astyle formatter against all the examples 2013-10-21 09:58:40 +02:00
Ethernet Don't use IPAddress::_address from EthernetClass 2014-02-19 16:09:29 +01:00
Firmata Run new astyle formatter against all the examples 2013-10-21 09:58:40 +02:00
GSM GSM library to format 1.5 rev.2 2013-12-27 01:21:00 +01:00
LiquidCrystal Merge branch 'master' into ide-1.5.x 2013-11-12 09:45:56 +01:00
Robot_Control Merge branch 'master' into ide-1.5.x 2014-02-12 17:17:33 +01:00
Robot_Motor Merge branch 'master' into ide-1.5.x 2014-02-12 17:17:33 +01:00
RobotIRremote Merge branch 'master' into ide-1.5.x 2013-11-14 16:04:45 +01:00
Scheduler Run new astyle formatter against all the examples 2013-10-21 09:58:40 +02:00
SD Sd2Card.cpp: fix compiler warning 2014-02-19 16:09:30 +01:00
Servo Servo library to format 1.5 rev.2 2014-01-02 00:20:31 +01:00
SpacebrewYun Run new astyle formatter against libs Bridge, SpacebrewYun and Temboo 2013-10-21 10:13:31 +02:00
Stepper Run new astyle formatter against all the examples 2013-10-21 09:58:40 +02:00
Temboo Run new astyle formatter against libs Bridge, SpacebrewYun and Temboo 2013-10-21 10:13:31 +02:00
TFT TFT library: warning messages in PImage class and strings inside examples now stored in flash to save RAM 2013-12-06 11:17:17 +01:00
USBHost Run new astyle formatter against all the examples 2013-10-21 09:58:40 +02:00
WiFi WiFi Shield examples: added the firmware version check 2014-02-06 18:40:48 +01:00