ardupilot/libraries/AP_HAL/HAL.cpp
Thomas Watson 6a6c3ce7a1 AP_HAL: inline serial accessor function
Saves a bit more flash.
2023-12-19 06:53:15 +11:00

14 lines
193 B
C++

#include <assert.h>
#include "HAL.h"
namespace AP_HAL {
HAL::FunCallbacks::FunCallbacks(void (*setup_fun)(void), void (*loop_fun)(void))
: _setup(setup_fun)
, _loop(loop_fun)
{
}
}