Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Mmessiter committed Jun 30, 2024
1 parent 75879de commit f8d7adc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ReceiverCode/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ int GetPWMValue(int frequency, int length) {return float(length / (1000000.00 /
/************************************************************************************************************/
void MoveServos()
{
// if (!CheckCrazyValues()||(millis() < 7000)) {// don't know why this is here
// if (!CheckCrazyValues()||(millis() < 7000)) {// don't know why this is here...
if (!CheckCrazyValues()) {
TurnLedOff();
for (int j = 0; j < SERVOSUSED; ++j) PreviousData[j] = 0; // Force a send when data is good again
Expand Down Expand Up @@ -705,7 +705,7 @@ FLASHMEM void setup()
WatchDogConfig.callback = WatchDogCallBack;
ReadBindPlug();
digitalWrite(LED_PIN, LOW);
TeensyWatchDog.begin(WatchDogConfig);
TeensyWatchDog.begin(WatchDogConfig);// ...
}

/************************************************************************************************************/
Expand Down
2 changes: 1 addition & 1 deletion ReceiverCode/src/utilities/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
// >>>>>>>>>>>>>>>> ******* DON'T FORGET TO SET THESE TWO !!! ******* <<<<<<<<<<<<<<<<<<<<< **** <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

#define SECOND_TRANSCEIVER 1 // must be undefined if not using two transceivers
#define USE_11PWM_OUTPUTS 1 // must be undefined if not using all 11 PWM outputs
// #define USE_11PWM_OUTPUTS 1 // must be undefined if not using all 11 PWM outputs

// >>>>>>>>>>>>>>>> ******* DON'T FORGET TO SET THESE TWO !!! ******* <<<<<<<<<<<<<<<<<<<<< **** <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

Expand Down

0 comments on commit f8d7adc

Please sign in to comment.