修复断电不彻底TM1650不能点亮问题

This commit is contained in:
张开科 2023-03-14 14:43:20 +08:00
parent ff976ce814
commit 086439e1e2

View File

@ -91,7 +91,7 @@ static void TM1650_Set(IIC_t *Channel, uint8_t Add, uint8_t Value)
void TM1650_Display(IIC_t *Channel, uint16_t Value, uint8_t CHANNEL)
{
IIC_t *const IIC = Channel;
Init(); //每次显示以前初始化TM1650
if (CHANNEL == 1) //判断显示通道
{
TM1650_Set(IIC, DIG1, tab[25]); //显示|