ardupilot/libraries/AP_EFI/AP_EFI_Scripting.cpp
Pradeep CK 71141080a1 AP_EFI : Hirth Driver Addition
Implementation for Hirth.
 - Base class - AP_EFI
 - polynomial functional throttle linearization
 - AP_EFI_State parameter addition and changes for hirth logging
 - to fix autotest errors
 - updated comments
 - Hirth CI/CD autotest fail fixes
 - logging
 - fix CI issues
2023-11-17 13:09:02 +11:00

23 lines
443 B
C++

#include "AP_EFI_config.h"
#if AP_EFI_SCRIPTING_ENABLED
#include "AP_EFI_Scripting.h"
// 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)
{
internal_state = efi_state;
copy_to_frontend();
return true;
}
#endif // AP_EFI_SCRIPTING_ENABLED