File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ choice BOARD_TYPE
4545 config BOARD_TYPE_ESP_BOX
4646 bool "ESP BOX"
4747 config BOARD_TYPE_ESP_BOX_LITE
48- bool "ESP BOX Lite"
48+ bool "ESP BOX Lite"
4949 config BOARD_TYPE_KEVIN_BOX_1
5050 bool "Kevin Box 1"
5151 config BOARD_TYPE_KEVIN_BOX_2
@@ -207,7 +207,7 @@ choice DISPLAY_LCD_TYPE
207207 config LCD_ST7796_320X480
208208 bool "ST7796, 分辨率320*480 IPS"
209209 config LCD_ST7796_320X480_NO_IPS
210- bool "ST7796, 分辨率320*480, 非IPS"
210+ bool "ST7796, 分辨率320*480, 非IPS"
211211 config LCD_ILI9341_240X320
212212 bool "ILI9341, 分辨率240*320"
213213 config LCD_ILI9341_240X320_NO_IPS
Original file line number Diff line number Diff line change @@ -190,7 +190,7 @@ void GpioLed::OnFadeEnd() {
190190 ledc_channel_.channel , LEDC_FADE_NO_WAIT);
191191}
192192
193- bool GpioLed::FadeCallback (const ledc_cb_param_t *param, void *user_arg) {
193+ bool IRAM_ATTR GpioLed::FadeCallback (const ledc_cb_param_t *param, void *user_arg) {
194194 if (param->event == LEDC_FADE_END_EVT) {
195195 auto led = static_cast <GpioLed*>(user_arg);
196196 led->OnFadeEnd ();
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ class GpioLed : public Led {
4141 void StartContinuousBlink (int interval_ms);
4242 void StartFadeTask ();
4343 void OnFadeEnd ();
44- static bool FadeCallback (const ledc_cb_param_t *param, void *user_arg);
44+ static bool IRAM_ATTR FadeCallback (const ledc_cb_param_t *param, void *user_arg);
4545};
4646
4747#endif // _GPIO_LED_H_
You can’t perform that action at this time.
0 commit comments