ardupilot/libraries/AP_EFI/AP_EFI_Scripting.cpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

23 lines
443 B
C++
Raw Normal View History

#include "AP_EFI_config.h"
2022-09-04 04:15:49 -03:00
#if AP_EFI_SCRIPTING_ENABLED
#include "AP_EFI_Scripting.h"
2022-09-04 04:15:49 -03:00
// 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
bool AP_EFI_Scripting::handle_scripting(const EFI_State &efi_state)
2022-09-04 04:15:49 -03:00
{
internal_state = efi_state;
copy_to_frontend();
return true;
2022-09-04 04:15:49 -03:00
}
#endif // AP_EFI_SCRIPTING_ENABLED