mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-23 16:43:33 +08:00
More fixups for orb_advert_t changed to void *
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
committed by
Lorenz Meier
parent
bd2b5e4738
commit
a452478ef9
@@ -805,7 +805,7 @@ fake(int argc, char *argv[])
|
||||
|
||||
orb_advert_t handle = orb_advertise(ORB_ID_VEHICLE_ATTITUDE_CONTROLS, &ac);
|
||||
|
||||
if (handle == 0) {
|
||||
if (handle == nullptr) {
|
||||
puts("advertise failed");
|
||||
return 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user