Skip to content

Commit

Permalink
beta3: minor fix in the setup routine
Browse files Browse the repository at this point in the history
the throttle setup didn’t start the ESC until the setting was changed;
that’s silly.
  • Loading branch information
jaustindavid committed Oct 12, 2015
1 parent 35de608 commit a7c5302
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
7 changes: 1 addition & 6 deletions Wiiceiver/Tuna.h
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ void ui_getThrottle(byte blinks, byte eeprom_addy, int sign) {
flash(green, blinks);
delay(1000);
green.start(constrain(abs(throttle * 20), 1, 20));
ESC.setLevel(throttle);
do {
chuck.update();
delay(20);
Expand Down Expand Up @@ -187,12 +188,6 @@ int ui_getValue(byte blinks, byte valueAddy, byte defaultValue, byte maxValue) {


void showTunaSettings(void) {
/*
Serial.print("Min throttle: ");
Serial.println(readSetting(EEPROM_MINTHROTTLE_ADDY, 255));
Serial.print("Max throttle: ");
Serial.println(readSetting(EEPROM_MAXTHROTTLE_ADDY, 255));
*/
Serial.print(F("Heli mode: "));
Serial.println(readSetting(EEPROM_HELI_MODE_ADDY, 255));
#ifndef ALLOW_HELI_MODE
Expand Down
2 changes: 1 addition & 1 deletion Wiiceiver/Wiiceiver.ino
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
#include <Servo.h>
#include <EEPROM.h>

#define WIICEIVER_VERSION "2.0 beta"
#define WIICEIVER_VERSION "2.0 beta3"

// define ALLOW_HELI_MODE to unlock the settable mode & functions
#undef ALLOW_HELI_MODE
Expand Down

0 comments on commit a7c5302

Please sign in to comment.