Skip to content

Commit

Permalink
Merge pull request #277 from tomcombriat/fix/Teensy2
Browse files Browse the repository at this point in the history
Fixed compilation for Teensy2
  • Loading branch information
tomcombriat authored Sep 24, 2024
2 parents 750685d + 3042131 commit 93a51c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/MozziGuts_impl_AVR.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ uint8_t adcPinToChannelNum(uint8_t pin) {
// 0, 1, 4, 5, 6, 7, 13, 12, 11, 10, 9, 8
0, 1, 4, 5, 6, 7, 13, 12, 11, 10, 9, 8, 10, 11, 12, 13, 7, 6, 5, 4, 1, 0, 8
};
pin = pgm_read_byte(adc_mapping + (P));
pin = pgm_read_byte(adc_mapping + (pin));
# else
pin = analogPinToChannel(pin);
# endif
Expand Down

0 comments on commit 93a51c0

Please sign in to comment.