Browse Source

Corrected typecast in usb_flightsim.cpp

Signed-off-by: Jorg Neves Bliesener <jbliesener@bliesener.com>
teensy4-core
Jorg Neves Bliesener 8 years ago
parent
commit
372698e9ef
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      teensy3/usb_flightsim.cpp

+ 1
- 1
teensy3/usb_flightsim.cpp View File

if (!hasCallbackInfo) { if (!hasCallbackInfo) {
(*change_callback)(val); (*change_callback)(val);
} else { } else {
(*(void(*)(long,void*))change_callback)(val,callbackInfo);
(*(void(*)(float,void*))change_callback)(val,callbackInfo);
} }
} }
} }

Loading…
Cancel
Save