|
|
|
@ -13,9 +13,13 @@ public:
@@ -13,9 +13,13 @@ public:
|
|
|
|
|
// update - updates device according to timed_updated. Should be
|
|
|
|
|
// called at 50Hz
|
|
|
|
|
virtual void update() = 0; |
|
|
|
|
|
|
|
|
|
// handle a LED_CONTROL message, by default device ignore message
|
|
|
|
|
virtual void handle_led_control(mavlink_message_t *msg) {} |
|
|
|
|
|
|
|
|
|
// handle a PLAY_TUNE message, by default device ignore message
|
|
|
|
|
virtual void handle_play_tune(mavlink_message_t *msg) {} |
|
|
|
|
|
|
|
|
|
// this pointer is used to read the parameters relative to devices
|
|
|
|
|
const AP_Notify *pNotify; |
|
|
|
|
}; |
|
|
|
|