wujiangang / ESP8266_IOT_PLATFORM

A demo that should be run with ESP8266 RTOS SDK
http://bbs.espressif.com
Other
239 stars 122 forks source link

remove abs() for unsigned int #5

Closed SeregaKai closed 7 years ago

SeregaKai commented 7 years ago

Hi! 1) I think that using abs() function for unsigned int is incorrect and senselessy. 2) Checking of retry_count is actual for right crc. Otherwise checking of retry_count executes and we can get upgarde_flag is true.