ardupilot/libraries/AP_EFI/AP_EFI_Scripting.cpp

19 lines
397 B
C++
Raw Normal View History

2022-09-04 04:15:49 -03:00
#include "AP_EFI_Scripting.h"
#if AP_EFI_SCRIPTING_ENABLED
// Called from frontend to update with the readings received by handler
void AP_EFI_Scripting::update()
{
// Nothing to do here
}
// handle EFI message from scripting
void AP_EFI_Scripting::handle_scripting(const EFI_State &efi_state)
{
internal_state = efi_state;
copy_to_frontend();
}
#endif // AP_EFI_SCRIPTING_ENABLED