File tree Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -217,16 +217,15 @@ fn main() -> ! {
217
217
let mut startup_percentage = Some ( 0 ) ;
218
218
219
219
loop {
220
- // TODO: Current hardware revision does not have the sleep pin wired up :(
221
220
// Go to sleep if the host is sleeping
222
- let _host_sleeping = sleep. is_low ( ) . unwrap ( ) ;
223
- // handle_sleep(
224
- // host_sleeping,
225
- // &mut state,
226
- // &mut matrix,
227
- // &mut delay,
228
- // &mut led_enable,
229
- // );
221
+ let host_sleeping = sleep. is_low ( ) . unwrap ( ) ;
222
+ handle_sleep (
223
+ host_sleeping,
224
+ & mut state,
225
+ & mut matrix,
226
+ & mut delay,
227
+ & mut led_enable,
228
+ ) ;
230
229
231
230
// Handle period display updates. Don't do it too often
232
231
if timer. get_counter ( ) . ticks ( ) > prev_timer + state. animation_period {
You can’t perform that action at this time.
0 commit comments