diff --git a/docs/changes.md b/docs/changes.md index f988b360e..a48f3d3e7 100644 --- a/docs/changes.md +++ b/docs/changes.md @@ -1,5 +1,8 @@ # 最新动态 +2024/11/22 + * 修复 mledit编译警告(感谢泽武提供补丁) + 2024/11/21 * 完善conf_json(感谢兆坤提供补丁) diff --git a/src/ext_widgets/mledit/mledit.c b/src/ext_widgets/mledit/mledit.c index 7fa62d8a3..eea371e1d 100644 --- a/src/ext_widgets/mledit/mledit.c +++ b/src/ext_widgets/mledit/mledit.c @@ -31,7 +31,7 @@ static ret_t mledit_init(widget_t* widget); static ret_t mledit_update_status(widget_t* widget); -static ret_t mledit_update_text(widget_t* widget); +static uint32_t mledit_update_text(widget_t* widget); static ret_t mledit_dispatch_event(widget_t* widget, uint32_t type); static ret_t mledit_save_text(widget_t* widget) {