Skip to content

Commit

Permalink
modules: memfault: Add missing break in switch
Browse files Browse the repository at this point in the history
Add missing break in switch statement.

Signed-off-by: Jan Tore Guggedal <[email protected]>
  • Loading branch information
jtguggedal authored and carlescufi committed Oct 18, 2024
1 parent dc8ffe8 commit f411b5a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/memfault-firmware-sdk/memfault_location_metrics.c
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ static void prv_location_method_results_record(enum location_method method,
MEMFAULT_METRIC_SESSION_SET_UNSIGNED(ncs_loc_wifi_method_result, ncs_loc, id);
MEMFAULT_METRIC_SESSION_SET_UNSIGNED(ncs_loc_wifi_ap_count, ncs_loc,
details->wifi.ap_count);
break;
#endif /* CONFIG_LOCATION_METHOD_CELLULAR && CONFIG_LOCATION_METHOD_WIFI */
default:
LOG_ERR("Unsupported location method id=%d", method);
Expand Down

0 comments on commit f411b5a

Please sign in to comment.