Skip to content

Commit

Permalink
Merge pull request #137 from OpenI6X/janek/write-delay
Browse files Browse the repository at this point in the history
Reduce eeprom write delay to 3s
  • Loading branch information
ajjjjjjjj authored Jan 22, 2022
2 parents 9911be0 + 9533fb2 commit 62fa9bf
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ radio/src/CmakeFiles/*
build.sh
firm.sh
flash.sh
*.patch
2 changes: 1 addition & 1 deletion radio/src/gui/128x64/lcd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -783,7 +783,7 @@ void drawCurveName(coord_t x, coord_t y, int8_t idx, LcdFlags att)
lcdDrawText(x, y, s, att);
}

void drawTimerMode(coord_t x, coord_t y, int8_t mode, LcdFlags att)
void drawTimerMode(coord_t x, coord_t y, swsrc_t mode, LcdFlags att)
{
if (mode >= 0) {
if (mode < TMRMODE_COUNT)
Expand Down
2 changes: 1 addition & 1 deletion radio/src/gui/128x64/lcd.h
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ void drawSwitch(coord_t x, coord_t y, swsrc_t swtch, LcdFlags att=0, bool autoBo
void drawSource(coord_t x, coord_t y, mixsrc_t idx, LcdFlags att=0);
#endif
void drawCurveName(coord_t x, coord_t y, int8_t idx, LcdFlags att=0);
void drawTimerMode(coord_t x, coord_t y, int8_t mode, LcdFlags att=0);
void drawTimerMode(coord_t x, coord_t y, swsrc_t mode, LcdFlags att=0);

void drawTrimMode(coord_t x, coord_t y, uint8_t phase, uint8_t idx, LcdFlags att);
void drawShortTrimMode(coord_t x, coord_t y, uint8_t mode, uint8_t idx, LcdFlags att);
Expand Down
2 changes: 1 addition & 1 deletion radio/src/storage/storage.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#elif defined(PCBSKY9X) && !defined(REV0)
#define WRITE_DELAY_10MS 500
#elif defined(PCBI6X)
#define WRITE_DELAY_10MS 500
#define WRITE_DELAY_10MS 300
#else
#define WRITE_DELAY_10MS 200
#endif
Expand Down

0 comments on commit 62fa9bf

Please sign in to comment.