Update main.c read sensors in sim mode

beta-v1.3.1-vhf-ina
Alan Johnston 2 years ago committed by GitHub
parent 08faf71bb9
commit 7ba0420f4c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -513,7 +513,7 @@ int main(int argc, char * argv[]) {
get_tlm_fox(); // fill transmit buffer with reset count 0 packets that will be ignored get_tlm_fox(); // fill transmit buffer with reset count 0 packets that will be ignored
firstTime = 1; firstTime = 1;
if (!sim_mode) // if (!sim_mode) // always read sensors even in sim mode
{ {
strcpy(pythonStr, pythonCmd); strcpy(pythonStr, pythonCmd);
strcat(pythonStr, busStr); strcat(pythonStr, busStr);

Loading…
Cancel
Save

Powered by TurnKey Linux.