AP_Radio: correct singleton naming, and thus SkyViper build

This commit is contained in:
Peter Barker 2019-02-20 17:33:16 +11:00 committed by Peter Barker
parent 4f41aa19bf
commit ff9460d835
2 changed files with 2 additions and 2 deletions

View File

@ -134,7 +134,7 @@ const AP_Param::GroupInfo AP_Radio::var_info[] = {
AP_GROUPEND
};
AP_Radio *AP_Radio::_instance;
AP_Radio *AP_Radio::_singleton;
// constructor
AP_Radio::AP_Radio(void)

View File

@ -76,7 +76,7 @@ public:
private:
AP_HAL::OwnPtr<AP_HAL::SPIDevice> dev;
static AP_Radio_cc2500 *radio_instance;
static AP_Radio_cc2500 *radio_singleton;
static thread_t *_irq_handler_ctx;
static virtual_timer_t timeout_vt;