uid有时读取失败

This commit is contained in:
lmx
2025-12-01 18:05:09 +08:00
parent 976dafada1
commit b8d48ebe19
9 changed files with 23 additions and 65 deletions

View File

@ -33,7 +33,11 @@
unsigned char FM176XX_HardInit(void){
#if TCFG_GSENOR_USER_IIC_TYPE == 1// 硬件iic
int ret = hw_iic_init(0);
#else
int ret = soft_iic_init(0);
#endif
xlog("init iic result:%d\n", ret); //返回0成功
}
@ -175,5 +179,6 @@ unsigned char FM176XX_SoftReset(void){
void rfid_delay_ms(unsigned int ms){
// delay(ms);
os_time_dly(ms/10);
}