Skip to content
Commit c85cc47b authored by Johan Hedberg's avatar Johan Hedberg Committed by Daniel DeGrasse
Browse files

Bluetooth: samples: Fix off-by-one bug in atomic API usage



The code was accessing bits 1 and 2 (but not 0), effectively needing three
bits, but still requesting only 2 when calling ATOMIC_DEFINE().

Signed-off-by: default avatarJohan Hedberg <johan.hedberg@silabs.com>
parent a75abdc5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment