Set the type of stepcc to float

This commit is contained in:
Jean Pierre Cimalando 2020-04-22 05:23:43 +02:00
parent a8f863306f
commit 5790dd3ace

View file

@ -82,7 +82,7 @@ namespace Default
// Region logic: MIDI conditions
constexpr Range<uint8_t> channelRange { 1, 16 };
constexpr Range<uint8_t> midiChannelRange { 0, 15 };
constexpr Range<uint8_t> stepCCRange { 0, 127 };
constexpr Range<float> stepCCRange { 0, 127 };
constexpr Range<uint8_t> smoothCCRange { 0, 127 };
constexpr Range<uint8_t> curveCCRange { 0, 255 };
constexpr Range<uint16_t> ccNumberRange { 0, config::numCCs };