AP_ESC_Telem: dummy empty class to be used when HAL_WITH_ESC_TELEM == 0

This commit is contained in:
Dr.-Ing. Amilcar do Carmo Lucas 2021-05-26 13:09:32 +02:00 committed by Peter Barker
parent 6a914ce4be
commit bb9a81d32e
1 changed files with 8 additions and 0 deletions

View File

@ -60,4 +60,12 @@ private:
AP_ESC_Telem* _frontend;
};
#else
// dummy empty class
class AP_ESC_Telem_Backend {
public:
AP_ESC_Telem_Backend(){};
};
#endif