fix: conditional code problem due to new gpio driver (#5241)
This commit is contained in:
@@ -65,7 +65,7 @@ void pwrInit()
|
||||
hardwareOptions.pcbrev = PCBREV_VALUE();
|
||||
#elif defined(PCBREV_GPIO_1) && defined(PCBREV_GPIO_2)
|
||||
gpio_init(PCBREV_GPIO_1, GPIO_IN_PU, GPIO_PIN_SPEED_LOW);
|
||||
#if defined(PCBREV_TOUCH_GPIO_PIN)
|
||||
#if defined(PCBREV_TOUCH_GPIO)
|
||||
#if defined(PCBREV_TOUCH_GPIO_PULL_UP)
|
||||
gpio_init(PCBREV_GPIO_2, GPIO_IN_PU, GPIO_PIN_SPEED_LOW);
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user