Explorar el Código

Fix disabling display power.

Mathias Gottschlag hace 5 años
padre
commit
7ad34f1038
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      display/firmware/src/display.rs

+ 1
- 1
display/firmware/src/display.rs Ver fichero

36
         let epd = EPD4in2::new(spi, pins.cs, pins.busy, pins.dc, pins.rst, &mut time).unwrap(); // TODO: Error handling?
36
         let epd = EPD4in2::new(spi, pins.cs, pins.busy, pins.dc, pins.rst, &mut time).unwrap(); // TODO: Error handling?
37
 
37
 
38
         // Disable power again.
38
         // Disable power again.
39
-        pins.pwr.set_low().ok();
39
+        pins.pwr.set_high().ok();
40
 
40
 
41
         Display { pwr: pins.pwr, epd }
41
         Display { pwr: pins.pwr, epd }
42
     }
42
     }

Loading…
Cancelar
Guardar