mirror of
https://github.com/markqvist/RNode_Firmware.git
synced 2024-10-01 03:15:39 -04:00
Board detection
This commit is contained in:
parent
4041833b59
commit
8a95b16d1a
@ -642,7 +642,7 @@ bool eeprom_product_valid() {
|
||||
bool eeprom_model_valid() {
|
||||
model = EEPROM.read(eeprom_addr(ADDR_MODEL));
|
||||
#if BOARD_MODEL == BOARD_RNODE
|
||||
if (model == MODEL_A4 || model == MODEL_A9) {
|
||||
if (model == MODEL_A4 || model == MODEL_A9 || model == MODEL_FF) {
|
||||
#elif BOARD_MODEL == BOARD_HMBRW
|
||||
if (model == MODEL_FF) {
|
||||
#elif BOARD_MODEL == BOARD_TBEAM
|
||||
|
Loading…
Reference in New Issue
Block a user