Browse Source

Work around multi-line function limit in Arduino 1.6.7

dds
PaulStoffregen 8 years ago
parent
commit
08a6367d03
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      examples/HardwareTesting/SdCardTest/SdCardTest.ino

+ 1
- 2
examples/HardwareTesting/SdCardTest/SdCardTest.ino View File

@@ -262,8 +262,7 @@ unsigned long maximum(unsigned long a, unsigned long b,
}


void reportSpeed(unsigned int numFiles, unsigned long blockCount,
unsigned long usecTotal, unsigned long usecMax)
void reportSpeed(unsigned int numFiles, unsigned long blockCount, unsigned long usecTotal, unsigned long usecMax)
{
float bytesPerSecond = (float)(blockCount * 512 * numFiles) / usecTotal;
Serial.print(" Overall speed = ");

Loading…
Cancel
Save