mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-26 18:48:30 -04:00
AP_HAL: SPIDevice: prefer nullptr for pointer
This commit is contained in:
parent
c3d5aaa21c
commit
915f10dc8a
@ -68,7 +68,7 @@ public:
|
||||
virtual uint8_t get_count() { return 0; }
|
||||
|
||||
/* Get spi device name at @idx */
|
||||
virtual const char *get_device_name(uint8_t idx) { return 0; }
|
||||
virtual const char *get_device_name(uint8_t idx) { return nullptr; }
|
||||
};
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user