ardupilot/libraries/AP_HAL_PX4/Util.h

25 lines
473 B
C
Raw Normal View History

#ifndef __AP_HAL_PX4_UTIL_H__
#define __AP_HAL_PX4_UTIL_H__
#include <AP_HAL.h>
#include "AP_HAL_PX4_Namespace.h"
class PX4::PX4Util : public AP_HAL::Util {
public:
PX4Util(void);
bool run_debug_shell(AP_HAL::BetterStream *stream);
enum safety_state safety_switch_state(void);
2013-10-23 09:26:55 -03:00
/*
set system clock in UTC microseconds
*/
void set_system_clock(uint64_t time_utc_usec);
private:
int _safety_handle;
};
#endif // __AP_HAL_PX4_UTIL_H__