ardupilot/libraries/AP_InertialSensor/AP_InertialSensor_UserInteract.h
Andrew Tridgell ed6ab5f1d3 AP_InertialSensor: use bool for blocking_read()
uint8_t return was confusing
2014-08-07 13:09:17 +10:00

16 lines
351 B
C++

#ifndef __AP_INERTIAL_SENSOR_USER_INTERACT_H__
#define __AP_INERTIAL_SENSOR_USER_INTERACT_H__
#include <AP_Progmem.h>
/* Pure virtual interface class */
class AP_InertialSensor_UserInteract {
public:
virtual bool blocking_read() = 0;
virtual void _printf_P(const prog_char *, ...) = 0;
};
#endif // __AP_INERTIAL_SENSOR_USER_INTERACT_H__