Skip to content

Commit

Permalink
Doc
Browse files Browse the repository at this point in the history
  • Loading branch information
pu2clr committed Jul 26, 2024
1 parent 94cbc4a commit 0e9f3aa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
Binary file modified .DS_Store
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,7 @@
#define PWM_PA 9

#define STEP_FREQ 1

#define PUSH_MIN_DELAY 150

#define PUSH_MIN_DELAY 125
#define TIME_PAGE 5000

uint32_t timePage = millis();
Expand Down Expand Up @@ -336,9 +334,9 @@ void readAllTransmitterInformation() {

// Enable or disable PWM duty cycle
void enablePWM(uint8_t value) {
delay(200);
delay(300);
analogWrite(PWM_PA, value); // Turn PA off
delay(200);
delay(300);
}
// Switches the the current frequency to a new frequency
void switchTxFrequency(uint16_t freq) {
Expand Down Expand Up @@ -525,7 +523,7 @@ void runAction(void (*actionFunc)(uint8_t), KeyValue *tab, uint8_t step, uint8_
else
tab->key = tab->key - step;
}
actionFunc(tab->key);
actionFunc(tab->value[tab->key].idx);
showParameter((char *) tab->value[tab->key].desc);
key = browseParameter();
}
Expand Down

0 comments on commit 0e9f3aa

Please sign in to comment.