Commit 3642c8aa authored by 时昊's avatar 时昊

feat:修改休眠唤醒后,21036使能到SCL时间

parent 4f875cb4
...@@ -45,8 +45,17 @@ const LED_Driver_uint8_t u8IS31ChipAddress[LED_DRIVER_CHIP_NUM] = { ...@@ -45,8 +45,17 @@ const LED_Driver_uint8_t u8IS31ChipAddress[LED_DRIVER_CHIP_NUM] = {
}; };
uint8_t Led_Back_Status = 0;
/*设置shutdown引脚*/ /*设置shutdown引脚*/
void LED_Driver_Shutdown_Pin_Set(LED_Driver_uint8_t u8Level) void LED_Driver_Shutdown_Pin_Set(LED_Driver_uint8_t u8Level)
{ {
LED_DRIVER_EN = u8Level; LED_DRIVER_EN = u8Level;
if(Led_Back_Status == 0)
{
if(u8Level)
{
Gen_TimeDelay(50 * 1000u, 50u);
}
}
Led_Back_Status = u8Level;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment