Merge pull request #1178 from fschrempf/xiao-nrf-button-pullup-fix

Xiao NRF52: Enable pullup on button input
Этот коммит содержится в:
Liam Cottle
2025-12-07 19:18:48 +13:00
коммит произвёл GitHub
родитель 676c317f78 10b43a8f9f
Коммит 09c121efae
+1 -1
Просмотреть файл
@@ -38,7 +38,7 @@ void XiaoNrf52Board::begin() {
digitalWrite(VBAT_ENABLE, HIGH);
#ifdef PIN_USER_BTN
pinMode(PIN_USER_BTN, INPUT);
pinMode(PIN_USER_BTN, INPUT_PULLUP);
#endif
#if defined(PIN_WIRE_SDA) && defined(PIN_WIRE_SCL)