Merge pull request #651 from CapeLeidokos/pr_virtual_build_fix_f5

Added explicit cast to avoid comparison between signed and unsigned i…
pull/656/head
Jesse Vincent 5 years ago committed by GitHub
commit 992701deb7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -124,7 +124,7 @@ EventHandlerResult OneShot::onKeyswitchEvent(Key &mapped_key, byte row, byte col
if (prev_key_ == mapped_key && isStickable(mapped_key)) {
if ((Kaleidoscope.millisAtCycleStart() - start_time_) <=
((double_tap_time_out == -1) ? time_out : double_tap_time_out)) {
uint16_t((double_tap_time_out == -1) ? time_out : double_tap_time_out)) {
state_[idx].sticky = true;
prev_key_ = mapped_key;
}

Loading…
Cancel
Save