From 9172bf727175c1d86fe58af63b5f6519d1ff706c Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Tue, 23 Feb 2016 13:07:30 +0100 Subject: [PATCH] MPU6K: Report start scan not as failure, but as not found if sensor is not around --- src/drivers/mpu6000/mpu6000.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/drivers/mpu6000/mpu6000.cpp b/src/drivers/mpu6000/mpu6000.cpp index 1d948bb7aa..626e02de35 100644 --- a/src/drivers/mpu6000/mpu6000.cpp +++ b/src/drivers/mpu6000/mpu6000.cpp @@ -2186,7 +2186,7 @@ fail: *g_dev_ptr = nullptr; } - errx(1, "driver start failed"); + errx(1, "no device on this bus"); } void