diff options
author | Darren Lines <darren@darrenlines.uk> | 2022-06-24 14:59:05 +0300 |
---|---|---|
committer | Darren Lines <darren@darrenlines.uk> | 2022-06-24 14:59:05 +0300 |
commit | cc09a8fe90700f1944a10deb8f0497d66f0a9d73 (patch) | |
tree | f3deedc7dcac8775bd38f1e6b4487939d17dec42 /src | |
parent | 50d931f739987dde479f57869848d8516e30fd6e (diff) |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/css/tabs/firmware_flasher.css | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/css/tabs/firmware_flasher.css b/src/css/tabs/firmware_flasher.css index ec488163..a57bf456 100644 --- a/src/css/tabs/firmware_flasher.css +++ b/src/css/tabs/firmware_flasher.css @@ -49,6 +49,11 @@ -webkit-appearance: none; } +.tab-firmware_flasher .autoselect_description { + margin-left: 10px; + line-height: 25px; +} + /*noinspection ALL*/ .tab-firmware_flasher .info .progress::-webkit-progress-bar { background-color: #4f4f4f; |