From 9fb2a408bfff1a84a84dd3c74c85678571c0ad1d Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Tue, 1 Dec 2015 12:43:49 +0100 Subject: [PATCH] baro sim: Code style --- src/platforms/posix/drivers/barosim/baro.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platforms/posix/drivers/barosim/baro.cpp b/src/platforms/posix/drivers/barosim/baro.cpp index be38915595..960e14c1a3 100644 --- a/src/platforms/posix/drivers/barosim/baro.cpp +++ b/src/platforms/posix/drivers/barosim/baro.cpp @@ -670,7 +670,7 @@ BAROSIM::collect() /* read the most recent measurement - read offset/size are hardcoded in the interface */ uint8_t cmd = 0; - ret = transfer(&cmd, 1, (uint8_t*)&report, sizeof(baro_report)); + ret = transfer(&cmd, 1, (uint8_t *)&report, sizeof(baro_report)); if (ret < 0) { perf_count(_comms_errors);