warning: #167-D: argument of type "u8 *" is incompatible with parameter of type "char *restrict"

2025-02-27 01:18:34
推荐回答(1个)
回答1:

把s类型由(u8* 也可能是 unsinged char*)改成char*
或者简单的改成sprintf((char*)s,"%02.0f",(float)Sensor_Box.ad7730_1);