File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
libraries/BLE/examples/ble_temperature_broadcast Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 4141 * The format used is IEEE 11073-20601 FLOAT
4242 */
4343#include < SPI.h>
44+ #include < EEPROM.h>
4445#include < avr/sleep.h>
4546#include < avr/power.h>
4647
6061
6162#define TEMPERATURE_NUM_SAMPLES 5
6263
63- static hal_aci_data_t setup_msgs[NB_SETUP_MESSAGES] PROGMEM = SETUP_MESSAGES_CONTENT;
64+ static const hal_aci_data_t setup_msgs[NB_SETUP_MESSAGES] PROGMEM = SETUP_MESSAGES_CONTENT;
6465// aci_struct that will contain
6566// total initial credits
6667// current credit
@@ -284,7 +285,7 @@ void setup(void)
284285 aci_state.aci_setup_info .services_pipe_type_mapping = NULL ;
285286 }
286287 aci_state.aci_setup_info .number_of_pipes = NUMBER_OF_PIPES;
287- aci_state.aci_setup_info .setup_msgs = setup_msgs;
288+ aci_state.aci_setup_info .setup_msgs = ( hal_aci_data_t *) setup_msgs;
288289 aci_state.aci_setup_info .num_setup_msgs = NB_SETUP_MESSAGES;
289290
290291 /*
You can’t perform that action at this time.
0 commit comments