Merge pull request #350 from dimpolo/mpu_status_fix

Fix wrong status in mpu_status terminal command
This commit is contained in:
Benjamin Vedder 2021-10-10 18:04:37 +02:00 committed by GitHub
commit 583f712424
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ static void terminal_status(int argc, const char **argv) {
"Errors : %i\n"
"Errors Mag : %i\n",
mpu9150_is_mpu9250() ? "MPU9250" : "MPU9150",
mpu9150_get_failed_mag_reads(),
mpu9150_get_failed_reads(),
mpu9150_get_failed_mag_reads());
} else {
commands_printf("MPU9x50 not found\n");