Browse Source

AP_HAL: Add panic method to scheduler

mission-4.1.18
Pat Hickey 12 years ago committed by Andrew Tridgell
parent
commit
c86004d676
  1. 2
      libraries/AP_HAL/Scheduler.h

2
libraries/AP_HAL/Scheduler.h

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

Loading…
Cancel
Save