diff --git a/part8-breakout-ble/bt.c b/part8-breakout-ble/bt.c index a8b3add..d43783a 100644 --- a/part8-breakout-ble/bt.c +++ b/part8-breakout-ble/bt.c @@ -275,7 +275,7 @@ void setLEadvertparameters(unsigned char type, unsigned char linterval_min, unsi } void setLEadvertdata() { - volatile unsigned char command[32] = { + static unsigned char command[32] = { 0x19, 0x02, 0x01, 0x06, 0x03, 0x03, 0xAA, 0xFE,