ソースを参照

Fix Teensy 2.0 USB MIDI compile error on Arduino 1.6.0

main
PaulStoffregen 10年前
コミット
bd059d5af0
1個のファイルの変更1行の追加1行の削除
  1. +1
    -1
      usb_midi/usb_api.cpp

+ 1
- 1
usb_midi/usb_api.cpp ファイルの表示

#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;

読み込み中…
キャンセル
保存