pick up hex eof marker fix

This commit is contained in:
peli
2020-09-08 10:38:37 -07:00
parent f5e1e238f2
commit 11fea05486
3 changed files with 3 additions and 2 deletions

View File

@ -342,7 +342,7 @@ namespace pins {
void analogPitch(int frequency, int ms) {
// init pins if needed
if (NULL == pitchPin) {
pitchPin = getPin((int)AnalogPin::P0);
pitchPin = getPin((int)DigitalPin::P0);
#ifdef SOUND_MIRROR_EXTENSION
pitchPin2 = &SOUND_MIRROR_EXTENSION;
#endif