Update TeensyUsbSlaveMidiClockMonitor.ino

remove volatile reference pointer to avoid compilation error
pull/15/head
mrms 2 years ago committed by GitHub
parent fc050434c2
commit b4b1b6a27a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      examples/TeensyUsbSlaveMidiClockMonitor/TeensyUsbSlaveMidiClockMonitor.ino

@ -34,7 +34,7 @@ float bpm = 126;
uint8_t bpm_blink_timer = 1; uint8_t bpm_blink_timer = 1;
uint8_t clock_state = 1; uint8_t clock_state = 1;
void handle_bpm_led(uint32_t * tick) void handle_bpm_led(uint32_t tick)
{ {
// BPM led indicator // BPM led indicator
if ( !(tick % (96)) || (tick == 1) ) { // first compass step will flash longer if ( !(tick % (96)) || (tick == 1) ) { // first compass step will flash longer

Loading…
Cancel
Save