Skip to content

Commit

Permalink
0.7.38 fix pinout
Browse files Browse the repository at this point in the history
  • Loading branch information
lumapu committed Aug 21, 2023
1 parent b01fbe2 commit 2130596
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/config/settings.h
Original file line number Diff line number Diff line change
Expand Up @@ -395,9 +395,15 @@ class settings {
mCfg.nrf.amplifierPower = DEF_AMPLIFIERPOWER & 0x03;
mCfg.nrf.enabled = true;

#if defined(ESP32)
mCfg.cmt.pinCsb = DEF_CMT_CSB;
mCfg.cmt.pinFcsb = DEF_CMT_FCSB;
mCfg.cmt.pinIrq = DEF_CMT_IRQ;
#else
mCfg.cmt.pinCsb = DEF_PIN_OFF;
mCfg.cmt.pinFcsb = DEF_PIN_OFF;
mCfg.cmt.pinIrq = DEF_PIN_OFF;
#endif
mCfg.cmt.enabled = false;

snprintf(mCfg.ntp.addr, NTP_ADDR_LEN, "%s", DEF_NTP_SERVER_NAME);
Expand Down

0 comments on commit 2130596

Please sign in to comment.