Stop using deprecated Leader variable `time_out`

Replaced with the new `setTimeout()` function call.

Signed-off-by: Michael Richters <gedankenexperimenter@gmail.com>
pull/1123/head
Michael Richters 3 years ago
parent da844e4a1e
commit f47c750681
No known key found for this signature in database
GPG Key ID: 1288FD13E4EEF0C0

@ -72,7 +72,7 @@ static const kaleidoscope::plugin::Leader::dictionary_t leader_dictionary[] PROG
void setup() { void setup() {
Kaleidoscope.setup(); Kaleidoscope.setup();
Leader.time_out = 20; Leader.setTimeout(20);
Leader.dictionary = leader_dictionary; Leader.dictionary = leader_dictionary;
} }

Loading…
Cancel
Save