Update sm2135.cpp / fixed lights flickering

fixed sm2135_set_high_ which caused flicker while color changes.

the pin was set to mode output and high (strong drive) before going to open drain / pull up. this caused transmission errors.
This commit is contained in:
matika77 2024-04-04 21:02:13 +02:00 committed by GitHub
parent 0148ebcaa6
commit 387a92ca14
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -144,7 +144,6 @@ void SM2135::sm2135_set_low_(GPIOPin *pin) {
} }
void SM2135::sm2135_set_high_(GPIOPin *pin) { void SM2135::sm2135_set_high_(GPIOPin *pin) {
pin->digital_write(true);
pin->pin_mode(gpio::FLAG_PULLUP); pin->pin_mode(gpio::FLAG_PULLUP);
} }