mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-05 22:45:23 +00:00
Renaming packet types, implementing different packet contents per hardware version
This commit is contained in:
parent
83dbfadf20
commit
9b4865dceb
34 changed files with 2184 additions and 500 deletions
|
|
@ -351,9 +351,9 @@ void VNA::Work() {
|
|||
}
|
||||
// Compile info packet
|
||||
Protocol::PacketInfo packet;
|
||||
packet.type = Protocol::PacketType::DeviceStatusV1;
|
||||
packet.type = Protocol::PacketType::DeviceStatus;
|
||||
if(HW::getStatusUpdateFlag()) {
|
||||
HW::getDeviceStatus(&packet.statusV1, true);
|
||||
HW::getDeviceStatus(&packet.status, true);
|
||||
Communication::Send(packet);
|
||||
}
|
||||
// do not reset unlevel flag here, as it is calculated only once at the setup of the sweep
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue