You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
238 B
16 lines
238 B
9 years ago
|
#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)
|
||
|
{
|
||
|
assert(setup_fun);
|
||
|
assert(loop_fun);
|
||
|
}
|
||
|
|
||
|
}
|