AP_HAL: added set_system_clock() API

This commit is contained in:
Andrew Tridgell 2013-10-23 23:26:36 +11:00
parent 744819cec8
commit 0ca82d5e3c
1 changed files with 5 additions and 0 deletions

View File

@ -33,6 +33,11 @@ public:
return state of safety switch, if applicable
*/
virtual enum safety_state safety_switch_state(void) { return SAFETY_NONE; }
/*
set system clock in UTC microseconds
*/
virtual void set_system_clock(uint64_t time_utc_usec) {}
};
#endif // __AP_HAL_UTIL_H__