Skip to content

Commit

Permalink
chore(el18): Change default switch cfg to match production (#2675)
Browse files Browse the repository at this point in the history
  • Loading branch information
richardclli committed Apr 28, 2023
1 parent 82a711f commit 8dd956c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion radio/src/targets/nv14/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -215,8 +215,11 @@ enum EnumSwitches
};

#define STORAGE_NUM_SWITCHES NUM_SWITCHES
#if (PCBREV == EL18)
#define DEFAULT_SWITCH_CONFIG (SWITCH_TOGGLE << 14) + (SWITCH_3POS << 12) + (SWITCH_3POS << 10) + (SWITCH_2POS << 8) + (SWITCH_2POS << 6) + (SWITCH_3POS << 4) + (SWITCH_3POS << 2) + (SWITCH_2POS << 0);
#else
#define DEFAULT_SWITCH_CONFIG (SWITCH_TOGGLE << 14) + (SWITCH_3POS << 12) + (SWITCH_3POS << 10) + (SWITCH_TOGGLE << 8) + (SWITCH_2POS << 6) + (SWITCH_TOGGLE << 4) + (SWITCH_3POS << 2) + (SWITCH_2POS << 0);

#endif
enum EnumSwitchesPositions
{
SW_SA0,
Expand Down

0 comments on commit 8dd956c

Please sign in to comment.