Scary commit. I've taken baby steps toward passing rig status between the Raduino and the TeensyDSP using I2C. Compiles, but has not been tested. Need to create a branch.

This commit is contained in:
Rob French
2021-02-05 22:59:31 -06:00
parent e62e3ef548
commit 4186fdcdd4
11 changed files with 191 additions and 8 deletions

View File

@@ -990,9 +990,18 @@ void SWS_Process(void)
char checkCount = 0;
char checkCountSMeter = 0;
UBitxRigState rigState;
UBitxRigState catState;
//execute interval : 0.25sec
void idle_process()
{
// KC4UPR 2021-02-05 added update process for Raduino-TeensyDSP coordination
// Note, need to not have to copy this every time...
rigState.vfo[0] = vfoA;
rigState.vfo[1] = vfoB;
doRaduinoToTeensy(&rigState);
//S-Meter Display
if (((displayOption1 & 0x08) == 0x08 && (sdrModeOn == 0)) && (++checkCountSMeter > SMeterLatency))
{