remote firmware request

This commit is contained in:
rusefi 2020-08-30 01:23:12 -04:00
parent ea569d5a84
commit 16ee95b3b9
2 changed files with 3 additions and 2 deletions

View File

@ -6,12 +6,12 @@ do
echo Exit code: ${exit_status}
# in java code that's UPDATE_SBC_EXIT_CODE magic number
if [ $exit_status -eq 15 ]; then
echo Software update was requested
echo Connector software update was requested
bin/update_bundle.sh
fi
# in java code that's UPDATE_FIRMWARE_EXIT_CODE magic number
if [ $exit_status -eq 16 ]; then
echo Software update was requested
echo Firmware update was requested
bin/update_bundle.sh
# todo: we need to start validating that SBC software matches board type, maybe update bundle type based on existing controller?
bin/dfu_switch_and_program.sh

View File

@ -199,6 +199,7 @@ public class RemoteTab {
requestUpdate(publicSession, updateFirmware, UpdateType.FIRMWARE);
}
});
bottomPanel.add(updateFirmware);
}
}