Merge pull request #77 from hreikin/patch-1

Fix ledc error reported over serial on boot.
This commit is contained in:
Lewis He
2025-03-17 09:54:40 +08:00
committed by GitHub
@@ -199,8 +199,8 @@ void setup()
Serial.println("Starting keyboard work!");
ledcAttachPin(keyboard_BL_PIN, KB_BRIGHTNESS_CH);
ledcSetup(KB_BRIGHTNESS_CH, KB_BRIGHTNESS_FREQ, KB_BRIGHTNESS_RES);
ledcAttachPin(keyboard_BL_PIN, KB_BRIGHTNESS_CH);
ledcWrite(KB_BRIGHTNESS_CH, KB_BRIGHTNESS_BOOT_DUTY);
Serial.println("4");