Skip to content

Commit

Permalink
ESP32: Use the BOOSTER_INPUT define
Browse files Browse the repository at this point in the history
  • Loading branch information
habazut committed Feb 24, 2024
1 parent 1101cfd commit b29a01f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TrackManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ bool TrackManager::setTrackMode(byte trackToSet, TRACK_MODE mode, int16_t dcAddr
if (mode & TRACK_MODE_BOOST) {
//DIAG(F("Track=%c mode boost pin %d"),trackToSet+'A', p.pin);
pinMode(BOOSTER_INPUT, INPUT);
gpio_matrix_in(26, SIG_IN_FUNC228_IDX, false); //pads 224 to 228 available as loopback
gpio_matrix_in(BOOSTER_INPUT, SIG_IN_FUNC228_IDX, false); //pads 224 to 228 available as loopback
gpio_matrix_out(p.pin, SIG_IN_FUNC228_IDX, false, false);
if (p.invpin != UNUSED_PIN) {
gpio_matrix_out(p.invpin, SIG_IN_FUNC228_IDX, true /*inverted*/, false);
Expand Down

0 comments on commit b29a01f

Please sign in to comment.