forked from Mirrors/usk
publish
This commit is contained in:
parent
2d0609cb29
commit
ab25e4844d
1 changed files with 1 additions and 1 deletions
2
misc.c
2
misc.c
|
|
@ -100,7 +100,7 @@ void put_pixel(uint32_t pixel_rgb)
|
||||||
if (is_pico())
|
if (is_pico())
|
||||||
{
|
{
|
||||||
gpio_init(led_pin());
|
gpio_init(led_pin());
|
||||||
if (pixel_grb) {
|
if (pixel_rgb) {
|
||||||
gpio_set_dir(led_pin(), true);
|
gpio_set_dir(led_pin(), true);
|
||||||
gpio_put(led_pin(), 1);
|
gpio_put(led_pin(), 1);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue