Skip to content

Commit

Permalink
Log fix for esp idf 5.1 (#390)
Browse files Browse the repository at this point in the history
  • Loading branch information
RLeclair authored Jan 18, 2024
1 parent 0037b0b commit f06e8c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion demos/sample_azure_iot/sample_azure_iot.c
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ static void prvAzureDemoTask( void * pvParameters )
&pulIothubHostnameLength, &pucIotHubDeviceId,
&pulIothubDeviceIdLength ) ) != 0 )
{
LogError( ( "Failed on sample_dps_entry!: error code = 0x%08x\r\n", ulStatus ) );
LogError( ( "Failed on sample_dps_entry!: error code = 0x%08x\r\n", ( uint16_t ) ulStatus ) );
return;
}
#endif /* democonfigENABLE_DPS_SAMPLE */
Expand Down
2 changes: 1 addition & 1 deletion demos/sample_azure_iot_pnp/sample_azure_iot_pnp.c
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ static void prvAzureDemoTask( void * pvParameters )
&pulIothubHostnameLength, &pucIotHubDeviceId,
&pulIothubDeviceIdLength ) ) != 0 )
{
LogError( ( "Failed on sample_dps_entry!: error code = 0x%08x\r\n", ulStatus ) );
LogError( ( "Failed on sample_dps_entry!: error code = 0x%08x\r\n", ( uint16_t ) ulStatus ) );
return;
}
#endif /* democonfigENABLE_DPS_SAMPLE */
Expand Down

0 comments on commit f06e8c7

Please sign in to comment.