Skip to content

Commit

Permalink
Merge pull request #57 from NordicSemiconductor/Fix-for-last-file
Browse files Browse the repository at this point in the history
Fix for last .ino file which was missed in the last pull request
  • Loading branch information
daviddedwin committed Mar 5, 2015
2 parents f7ab595 + 2241671 commit a87ba21
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
* The format used is IEEE 11073-20601 FLOAT
*/
#include <SPI.h>
#include <EEPROM.h>
#include <avr/sleep.h>
#include <avr/power.h>

Expand All @@ -60,7 +61,7 @@

#define TEMPERATURE_NUM_SAMPLES 5

static hal_aci_data_t setup_msgs[NB_SETUP_MESSAGES] PROGMEM = SETUP_MESSAGES_CONTENT;
static const hal_aci_data_t setup_msgs[NB_SETUP_MESSAGES] PROGMEM = SETUP_MESSAGES_CONTENT;
// aci_struct that will contain
// total initial credits
// current credit
Expand Down Expand Up @@ -284,7 +285,7 @@ void setup(void)
aci_state.aci_setup_info.services_pipe_type_mapping = NULL;
}
aci_state.aci_setup_info.number_of_pipes = NUMBER_OF_PIPES;
aci_state.aci_setup_info.setup_msgs = setup_msgs;
aci_state.aci_setup_info.setup_msgs = (hal_aci_data_t*) setup_msgs;
aci_state.aci_setup_info.num_setup_msgs = NB_SETUP_MESSAGES;

/*
Expand Down

0 comments on commit a87ba21

Please sign in to comment.