Quellcode durchsuchen

Work around multi-line function limit in Arduino 1.6.7

dds
PaulStoffregen vor 8 Jahren
Ursprung
Commit
08a6367d03
1 geänderte Dateien mit 1 neuen und 2 gelöschten Zeilen
  1. +1
    -2
      examples/HardwareTesting/SdCardTest/SdCardTest.ino

+ 1
- 2
examples/HardwareTesting/SdCardTest/SdCardTest.ino Datei anzeigen

@@ -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 = ");

Laden…
Abbrechen
Speichern