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
1 changed files with 0 additions and 1 deletions

View File

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