marcel-licence / ML_SynthTools

ML_SynthTools
GNU General Public License v3.0
149 stars 25 forks source link

Arduino Compile warning on midi_interface.h #30

Closed bradanlane closed 1 year ago

bradanlane commented 1 year ago

The latest Arduino IDE with the latest arduino-pico generates a warning on printf syntax.

The current code has several lines similar to this ... Serial.printf("Setup Serial2 with %d baud with rx: "PIN_CAPTION"%d only\n", MIDI_SERIAL2_BAUDRATE, MIDI_RX2_PIN);

These should be changed to somethings similar to this ... Serial.printf("Setup Serial2 with %d baud with rx: %s%d only\n", MIDI_SERIAL2_BAUDRATE, PIN_CAPTION, MIDI_RX2_PIN);

marcel-licence commented 1 year ago

Fixed. Thank you very much for your feedback