armink / EasyLogger

An ultra-lightweight(ROM<1.6K, RAM<0.3k), high-performance C/C++ log library. | 一款超轻量级(ROM<1.6K, RAM<0.3k)、高性能的 C/C++ 日志库

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

demo中的ef_port_read实现问题

SnowSakuraKo opened this issue · comments

图片
在这个路径的示例的81行
图片
ef_port_read() 函数中这样判断会出问题(例如size=1),最终会跳入中断HardFault_Handler
修改成这样似乎可以避免问题
图片