don't cycle if ax5043

pull/29/head
alanbjohnston 6 years ago committed by GitHub
parent 42015f9e48
commit e583e6d961
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -356,7 +356,7 @@ int main(int argc, char *argv[]) {
pinMode (onLed, OUTPUT);
digitalWrite (onLed, onLedOn);
if (cycle == ON)
if ((cycle == ON) && !ax5043) // don't cycle modes if using AX5043
mode = (reset_count) % 3; // alternate between the three modes
config_file = fopen("sim.cfg","w");

Loading…
Cancel
Save

Powered by TurnKey Linux.