请在elog_hexdump函数的buf参数类型前加上const修饰符
FragrantRye opened this issue · 2 comments
FragrantRye commented
//void elog_hexdump(const char *name, uint8_t width, uint8_t *buf, uint16_t size);
void elog_hexdump(const char *name, uint8_t width, const uint8_t *buf, uint16_t size);
项目里开了-Wall,-Werror
,这里只接收non-const变量但传入的是const变量编译不过。
armink commented
多谢反馈,方便提交一下 PR 吗?
FragrantRye commented
OK,#121