SM2335 - Fix an argument size.

This commit is contained in:
Cossid 2022-06-21 00:50:44 -05:00
parent f76400ba03
commit 996d614027
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ void SM2335Write(uint8_t value) {
pinMode(Sm2335.data, OUTPUT); pinMode(Sm2335.data, OUTPUT);
} }
void SM2335Start(uint16_t addr) { void SM2335Start(uint8_t addr) {
digitalWrite(Sm2335.data, LOW); digitalWrite(Sm2335.data, LOW);
delayMicroseconds(SM2335_DELAY); delayMicroseconds(SM2335_DELAY);
digitalWrite(Sm2335.clk, LOW); digitalWrite(Sm2335.clk, LOW);