Browse Source

Fix Teensy 2.0 USB MIDI compile error on Arduino 1.6.0

main
PaulStoffregen 9 years ago
parent
commit
bd059d5af0
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      usb_midi/usb_api.cpp

+ 1
- 1
usb_midi/usb_api.cpp View File

#else #else
uint8_t i, e, b; uint8_t i, e, b;
uint16_t s=0; uint16_t s=0;
static const prog_uint8_t table[] = {225,124,65,34,17,9,4,2,1};
static const uint8_t PROGMEM table[] = {225,124,65,34,17,9,4,2,1};


if (val == 0) return 0; if (val == 0) return 0;
if (val >= 1023) return 127; if (val >= 1023) return 127;

Loading…
Cancel
Save