Skip to content

Commit

Permalink
Generate enumeration storage width (#7746)
Browse files Browse the repository at this point in the history
* Generate enumeration storage width

* Update ChipLogDetail format of network-commissioning.cpp to PRIu8 since the storage of some enums has changed
  • Loading branch information
vivien-apple authored and pan- committed Jun 30, 2023
1 parent d7a6c2e commit 1431598
Show file tree
Hide file tree
Showing 3 changed files with 240 additions and 240 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ EmberAfNetworkCommissioningError OnAddThreadNetworkCommandCallbackInternal(app::
exit:
// TODO: We should encode response command here.

ChipLogDetail(Zcl, "AddThreadNetwork: %" PRIu32, err);
ChipLogDetail(Zcl, "AddThreadNetwork: %" PRIu8, err);
return err;
#else
// The target does not supports ThreadNetwork. We should not add AddThreadNetwork command in that case then the upper layer will
Expand Down Expand Up @@ -203,7 +203,7 @@ EmberAfNetworkCommissioningError OnAddWiFiNetworkCommandCallbackInternal(app::Co
exit:
// TODO: We should encode response command here.

ChipLogDetail(Zcl, "AddWiFiNetwork: %" PRIu32, err);
ChipLogDetail(Zcl, "AddWiFiNetwork: %" PRIu8, err);
return err;
#else
// The target does not supports WiFiNetwork.
Expand Down
Loading

0 comments on commit 1431598

Please sign in to comment.