We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f92bc5 commit 9f57337Copy full SHA for 9f57337
firmware/nRF51/tag-proximity/src/radio.c
@@ -423,7 +423,7 @@ void RADIO_IRQ_Handler(void)
423
{
424
g_pkt_tracker.p.status.flags &= 0x00FF;
425
g_pkt_tracker.p.status.flags |=
426
- (uint8_t) ( (reset_reason & 0x0F) | ((reset_reason >> 12) & 0x70) ) << 8;
+ (uint16_t) ( (reset_reason & 0x0F) | ((reset_reason >> 12) & 0x70) ) << 8;
427
}
428
429
#if !CONFIG_FLASH_LOGGING
0 commit comments