ソースを参照

Work around multi-line function limit in Arduino 1.6.7

dds
PaulStoffregen 8年前
コミット
08a6367d03
1個のファイルの変更1行の追加2行の削除
  1. +1
    -2
      examples/HardwareTesting/SdCardTest/SdCardTest.ino

+ 1
- 2
examples/HardwareTesting/SdCardTest/SdCardTest.ino ファイルの表示

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

読み込み中…
キャンセル
保存