AP_HAL: Add panic method to scheduler

This commit is contained in:
Pat Hickey 2012-12-17 16:25:33 -08:00 committed by Andrew Tridgell
parent a70a299c49
commit c86004d676

View File

@ -5,6 +5,7 @@
#include "AP_HAL_Namespace.h"
#include <stdint.h>
#include <AP_Progmem.h>
class AP_HAL::Scheduler {
public:
@ -26,6 +27,7 @@ public:
virtual void begin_atomic() = 0;
virtual void end_atomic() = 0;
virtual void panic(const prog_char_t *errormsg) = 0;
virtual void reboot() = 0;
};