Support detecting RAK14006 KB

This commit is contained in:
Thomas Göttgens
2022-05-09 20:12:49 +02:00
parent 7f0fd642ec
commit e48285a33a
3 changed files with 21 additions and 2 deletions

View File

@@ -75,6 +75,8 @@ uint8_t screen_model;
// The I2C address of the cardkb or RAK14004 (if found)
uint8_t cardkb_found;
// 0x02 for RAK14004 and 0x00 for cardkb
uint8_t kb_model;
// The I2C address of the Faces Keyboard (if found)
uint8_t faceskb_found;
@@ -295,7 +297,7 @@ void setup()
// Don't call screen setup until after nodedb is setup (because we need
// the current region name)
#if defined(ST7735_CS) || defined(HAS_EINK)
#if defined(ST7735_CS) || defined(HAS_EINK) || defined(ILI9341_DRIVER)
screen->setup();
#else
if (screen_found)