Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/ulog.c
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ ulog_err_t ulog_subscribe(ulog_function_t fn, ulog_level_t threshold) {
if (s_subscribers[i].fn == fn) {
// already subscribed: update threshold and return immediately.
s_subscribers[i].threshold = threshold;
s_lowest_log_level = ulog_lowest_log_level(); // Update lowest log level
return ULOG_ERR_NONE;

} else if (s_subscribers[i].fn == NULL) {
Expand Down