Skip to content

Commit

Permalink
drv/bluetooth/bluenrg: Fix device info service
Browse files Browse the repository at this point in the history
Classic Contiki mistake. Local variables are used across yields, so
need to be static.
  • Loading branch information
dlech committed Apr 1, 2021
1 parent ec40a39 commit 6c3daec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pbio/drv/bluetooth/bluetooth_stm32_bluenrg.c
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ static PT_THREAD(init_device_information_service(struct pt *pt)) {
static const uint8_t firmware_version_char_uuid[] = { 0x26, 0x2A }; // 0x2A26
static const uint8_t software_version_char_uuid[] = { 0x28, 0x2A }; // 0x2A28

uint16_t service_handle, fw_ver_char_handle, sw_ver_char_handle;
static uint16_t service_handle, fw_ver_char_handle, sw_ver_char_handle;

PT_BEGIN(pt);

Expand Down

0 comments on commit 6c3daec

Please sign in to comment.