We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed1b927 commit c948dd9Copy full SHA for c948dd9
targets/f7/ble_glue/services/dev_info_service.c
@@ -36,7 +36,7 @@ static char software_revision[DEVICE_INFO_SOFTWARE_REV_SIZE] = {0};
36
37
static bool
38
dev_info_char_data_callback(const void* context, const uint8_t** data, uint16_t* data_len) {
39
- *data_len = strlen(context);
+ *data_len = (uint16_t)strlen(context); //-V1029
40
if(data) {
41
*data = (const uint8_t*)context;
42
}
0 commit comments