Cleanup, use printf

This commit is contained in:
Oleg Kalachev
2023-05-24 11:22:59 +03:00
parent 17edd0ee00
commit 1125335b16
3 changed files with 1 additions and 20 deletions

View File

@@ -17,7 +17,7 @@ void setupIMU()
auto status = IMU.begin();
if (status < 0) {
while (true) {
Serial.print("IMU begin error: "); Serial.println(status);
Serial.printf("IMU begin error: %d\n", status);
delay(1000);
}
}