Skip to content
Snippets Groups Projects
Commit 1032b7a1 authored by fleur's avatar fleur
Browse files

boolz r for foolz (apparently)

parent 4124ecf2
Branches fontcleanup
No related tags found
No related merge requests found
Pipeline #3848 passed
......@@ -22,7 +22,7 @@ void display_set_reset_pin(uint8_t state)
if (!portexpander_detected()) {
MAX77650_setDO(state ? true : false);
} else {
portexpander_out_put(PIN_4, state);
portexpander_out_put(PIN_4, state ? 255 : 0);
}
}
......
......@@ -340,7 +340,7 @@ void leds_update(void)
void leds_flashlight(bool power)
{
portexpander_out_put(PIN_7, (power) ? 0 : 1);
portexpander_out_put(PIN_7, power ? 0 : 255);
}
void leds_set_gamma_table(uint8_t rgb_channel, uint8_t table[256])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment