Board detection

This commit is contained in:
Mark Qvist 2022-04-05 15:46:09 +02:00
parent 4041833b59
commit 8a95b16d1a

View File

@ -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