Board detection
This commit is contained in:
parent
4041833b59
commit
8a95b16d1a
@ -642,7 +642,7 @@ bool eeprom_product_valid() {
|
|||||||
bool eeprom_model_valid() {
|
bool eeprom_model_valid() {
|
||||||
model = EEPROM.read(eeprom_addr(ADDR_MODEL));
|
model = EEPROM.read(eeprom_addr(ADDR_MODEL));
|
||||||
#if BOARD_MODEL == BOARD_RNODE
|
#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
|
#elif BOARD_MODEL == BOARD_HMBRW
|
||||||
if (model == MODEL_FF) {
|
if (model == MODEL_FF) {
|
||||||
#elif BOARD_MODEL == BOARD_TBEAM
|
#elif BOARD_MODEL == BOARD_TBEAM
|
||||||
|
Loading…
Reference in New Issue
Block a user