mirror of https://github.com/ArduPilot/ardupilot
21 lines
296 B
C
21 lines
296 B
C
|
#pragma once
|
||
|
|
||
|
#include <stdint.h>
|
||
|
|
||
|
#include <AP_Common/AP_Common.h>
|
||
|
|
||
|
#include "AP_HAL_Macros.h"
|
||
|
|
||
|
namespace AP_HAL {
|
||
|
|
||
|
void init();
|
||
|
|
||
|
void panic(const char *errormsg, ...) FORMAT(1, 2) NORETURN;
|
||
|
|
||
|
uint32_t micros();
|
||
|
uint32_t millis();
|
||
|
uint64_t micros64();
|
||
|
uint64_t millis64();
|
||
|
|
||
|
} // namespace AP_HAL
|