Skip to content

Commit

Permalink
fixing PVS warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
hedger committed Dec 6, 2023
1 parent ed1b927 commit db1c057
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion targets/f7/ble_glue/services/dev_info_service.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ static char software_revision[DEVICE_INFO_SOFTWARE_REV_SIZE] = {0};

static bool
dev_info_char_data_callback(const void* context, const uint8_t** data, uint16_t* data_len) {
*data_len = strlen(context);
*data_len = (uint16_t)strlen(context);
if(data) {
*data = (const uint8_t*)context;
}
Expand Down

0 comments on commit db1c057

Please sign in to comment.