Browse Source

Merge pull request #132 from jbliesener/master

Corrected typecast in usb_flightsim.cpp
main
Paul Stoffregen 8 years ago
parent
commit
07571183cc
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      teensy3/usb_flightsim.cpp

+ 1
- 1
teensy3/usb_flightsim.cpp View File

@@ -219,7 +219,7 @@ void FlightSimFloat::update(float val)
if (!hasCallbackInfo) {
(*change_callback)(val);
} else {
(*(void(*)(long,void*))change_callback)(val,callbackInfo);
(*(void(*)(float,void*))change_callback)(val,callbackInfo);
}
}
}

Loading…
Cancel
Save