Browse Source

Fixing floating HP_DETECT

master
biologist79 4 years ago
committed by GitHub
parent
commit
836ad2f2e9
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/main.cpp

2
src/main.cpp

@ -4744,7 +4744,7 @@ void setup() {
}
#ifdef HEADPHONE_ADJUST_ENABLE
pinMode(HP_DETECT, INPUT);
pinMode(HP_DETECT, INPUT_PULLUP);
headphoneLastDetectionState = digitalReadFromAll(HP_DETECT);
#endif

Loading…
Cancel
Save