Skip to content

Commit

Permalink
Fix: There was one usage of PIN_USB_HOST_ENABLE which was not correct…
Browse files Browse the repository at this point in the history
…ly fixed for Nano boards. (#27)
  • Loading branch information
aentinger authored Dec 30, 2022
1 parent c6ad873 commit 68c8de2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BQ24195.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ bool PMICClass::disableCharge() {
*******************************************************************************/
bool PMICClass::disableBoostMode() {
int DATA = readRegister(POWERON_CONFIG_REGISTER);
#ifdef ARDUINO_ARCH_SAMD
#ifdef USE_ARDUINO_MKR_PIN_LAYOUT
digitalWrite(PIN_USB_HOST_ENABLE, HIGH);
#endif

Expand Down

0 comments on commit 68c8de2

Please sign in to comment.