♻️ Refactor HAL as singleton (#23295)
This commit is contained in:
@@ -69,7 +69,7 @@ void CaseLight::update(const bool sflag) {
|
||||
|
||||
#if CASELIGHT_USES_BRIGHTNESS
|
||||
if (pin_is_pwm())
|
||||
set_pwm_duty(pin_t(CASE_LIGHT_PIN), (
|
||||
hal.set_pwm_duty(pin_t(CASE_LIGHT_PIN), (
|
||||
#if CASE_LIGHT_MAX_PWM == 255
|
||||
n10ct
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user