mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-06 15:04:11 +00:00
Full init when switching to any other mode than idle
This commit is contained in:
parent
641f4ccd98
commit
978842a2ff
3 changed files with 2 additions and 4 deletions
|
|
@ -97,7 +97,6 @@ void App_Start() {
|
|||
USB_EN_GPIO_Port->BSRR = USB_EN_Pin;
|
||||
#endif
|
||||
|
||||
uint32_t lastNewPoint = HAL_GetTick();
|
||||
bool sweepActive = false;
|
||||
|
||||
LED::Off();
|
||||
|
|
@ -110,7 +109,6 @@ void App_Start() {
|
|||
case Protocol::PacketType::SweepSettings:
|
||||
LOG_INFO("New settings received");
|
||||
sweepActive = VNA::Setup(recv_packet.settings);
|
||||
lastNewPoint = HAL_GetTick();
|
||||
Communication::SendWithoutPayload(Protocol::PacketType::Ack);
|
||||
break;
|
||||
case Protocol::PacketType::ManualControl:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue