You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

24 lines
553 B

#include <AP_OSD/AP_OSD_Backend.h>
#include <AP_MSP/AP_MSP.h>
class AP_OSD_MSP : public AP_OSD_Backend
{
using AP_OSD_Backend::AP_OSD_Backend;
public:
static AP_OSD_Backend *probe(AP_OSD &osd);
//initilize display port and underlying hardware
bool init() override;
//draw given text to framebuffer
void write(uint8_t x, uint8_t y, const char* text) override {};
//flush framebuffer to screen
void flush() override {};
//clear framebuffer
void clear() override {};
private:
void setup_defaults(void);
};