mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-05 22:45:23 +00:00
implement optional device status updates
This commit is contained in:
parent
35cdfa5922
commit
9b38a1fc3d
8 changed files with 49 additions and 16 deletions
|
|
@ -428,7 +428,7 @@ void SA::Work() {
|
|||
// setup for next step
|
||||
signalIDstep = 0;
|
||||
|
||||
if(pointCnt % 10 == 0) {
|
||||
if(HW::getStatusUpdateFlag() && pointCnt % 10 == 0) {
|
||||
// send device info every nth point
|
||||
FPGA::Enable(FPGA::Periphery::SourceChip); // needs to enable the chip to get a valid temperature reading
|
||||
Protocol::PacketInfo packet;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue