mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-05 23:48:31 -04:00
d19c5035b6
As commented in 8218140
("AP_Common: add scanf format macro"), "FORMAT"
was a bad name for this macro since there's also the scanf. Rename to
FMT_PRINTF to follow the scanf name.
16 lines
369 B
C++
16 lines
369 B
C++
|
|
#ifndef __AP_INERTIAL_SENSOR_USER_INTERACT_H__
|
|
#define __AP_INERTIAL_SENSOR_USER_INTERACT_H__
|
|
|
|
#include <AP_Common/AP_Common.h>
|
|
|
|
/* Pure virtual interface class */
|
|
class AP_InertialSensor_UserInteract {
|
|
public:
|
|
virtual bool blocking_read() = 0;
|
|
virtual void printf(const char *, ...) FMT_PRINTF(2, 3) = 0;
|
|
};
|
|
|
|
#endif // __AP_INERTIAL_SENSOR_USER_INTERACT_H__
|
|
|