mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-16 12:55:13 +03:00
Implemented target autodetection
This PR adds target autodetection to the firmware flasher. It will attempt an autodetect on load. Plus there is a manual button to autodetect by the description. - Extended MSPHelper to collect the missing data sent in `MSP_BOARD_INFO`. Plus added a `getTarget()` function. - Added target autodetect on load of Firmware Flasher. - Added button to Firmware Flasher to command an autodetect. - Toggling **Show unstable builds** now remembers the selected target. - Fixed **Offline** notices in the board and version select boxes. - Added target name to firmware version displayed when connected.
This commit is contained in:
parent
50d931f739
commit
cc09a8fe90
6 changed files with 188 additions and 7 deletions
2
main.js
2
main.js
|
@ -657,7 +657,7 @@ function updateActivatedTab() {
|
|||
|
||||
function updateFirmwareVersion() {
|
||||
if (CONFIGURATOR.connectionValid) {
|
||||
$('#logo .firmware_version').text(CONFIG.flightControllerVersion);
|
||||
$('#logo .firmware_version').text(CONFIG.flightControllerVersion + " [" + CONFIG.target + "]");
|
||||
} else {
|
||||
$('#logo .firmware_version').text(chrome.i18n.getMessage('fcNotConnected'));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue