mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-05 22:45:23 +00:00
Bugfixes
- Firmware update device reattachment - Disconnect/connect with multiple devices - udev rule extended
This commit is contained in:
parent
2d44201de7
commit
44124bc09e
14 changed files with 90 additions and 66 deletions
|
|
@ -229,11 +229,9 @@ void App_Start() {
|
|||
LOG_INFO("Firmware update process triggered");
|
||||
auto fw_info = Firmware::GetFlashContentInfo(&flash);
|
||||
if(fw_info.valid) {
|
||||
Protocol::PacketInfo p;
|
||||
p.type = Protocol::PacketType::Ack;
|
||||
Communication::Send(p);
|
||||
Communication::SendWithoutPayload(Protocol::PacketType::Ack);
|
||||
// Some delay to allow communication to finish
|
||||
vTaskDelay(1000);
|
||||
vTaskDelay(100);
|
||||
Firmware::PerformUpdate(&flash, fw_info);
|
||||
// should never get here
|
||||
Communication::SendWithoutPayload(Protocol::PacketType::Nack);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue