turned payload OFF if sim mode

pull/74/head
alanbjohnston 5 years ago committed by GitHub
parent 5a32553298
commit a532f3724f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -445,11 +445,11 @@ printf("INFO: I2C bus status 0: %d 1: %d 3: %d camera: %d\n",i2c_bus0, i2c_bus1,
#endif
if ((i2c_bus1 == OFF) && (i2c_bus3 == OFF))
sim_mode = TRUE;
if (sim_mode)
{
sim_mode = TRUE;
payload == OFF:
printf("Simulated telemetry mode!\n");
srand(time(0));

Loading…
Cancel
Save

Powered by TurnKey Linux.