mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
Baro sim: Code style fix
This commit is contained in:
parent
2db915080c
commit
119c82de4e
@ -669,7 +669,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*)(&raw_baro), sizeof(raw_baro));
|
||||
ret = transfer(&cmd, 1, (uint8_t *)(&raw_baro), sizeof(raw_baro));
|
||||
|
||||
if (ret < 0) {
|
||||
perf_count(_comms_errors);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user