Line data Source code
1 : #include "AP_EFI_config.h" 2 : 3 : #if AP_EFI_SCRIPTING_ENABLED 4 : 5 : #include "AP_EFI_Scripting.h" 6 : 7 : 8 : // Called from frontend to update with the readings received by handler 9 0 : void AP_EFI_Scripting::update() 10 : { 11 : // Nothing to do here 12 0 : } 13 : 14 : // handle EFI message from scripting 15 0 : bool AP_EFI_Scripting::handle_scripting(const EFI_State &efi_state) 16 : { 17 0 : internal_state = efi_state; 18 0 : copy_to_frontend(); 19 0 : return true; 20 : } 21 : 22 : #endif // AP_EFI_SCRIPTING_ENABLED