diff --git a/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage/headstage_instruction.h b/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage/headstage_instruction.h index 2ee24362c..7252fb3b1 100644 --- a/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage/headstage_instruction.h +++ b/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage/headstage_instruction.h @@ -86,5 +86,6 @@ struct HEADSTAGE_STATE { static bool STI = false; static uint8_t spi_state_counter = 0; +static bool FirstTimeConnect = false; #endif diff --git a/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage/headstage_neu.h b/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage/headstage_neu.h index 99772dca6..660861dd4 100644 --- a/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage/headstage_neu.h +++ b/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage/headstage_neu.h @@ -1162,7 +1162,7 @@ static void headstage_neu_state_spi() { else{ SPICallBack = READ_MOSI; NEULIVE_STATE.state = NEU_READ_DATA; - headstage_led_color(COLOR_CYAN); + headstage_led_color(COLOR_BLUE); spi_state_counter = 0; AppendSPITX(0, 0); headstage_spi_transaction(SPI_BUFFER_SIZE); diff --git a/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage/headstage_version.h b/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage/headstage_version.h index feac58156..e87142f29 100644 --- a/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage/headstage_version.h +++ b/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage/headstage_version.h @@ -6,11 +6,11 @@ #define VERSION_DATE_MONTH 3 #define VERSION_DATE_DAY 17 #define VERSION_DATE_HOUR 10 -#define VERSION_DATE_MINUTE 31 +#define VERSION_DATE_MINUTE 51 // this is NOT the version hash !! // it's the last version hash -#define VERSION_HASH 6937b6a54f5425004bc47edc414b05705d6dc5ee +#define VERSION_HASH 7ae75451bc9431817d0cadb2b634be2c07e34189 #define VERSION_GIT_BRANCH Neulive2.0_developement #endif diff --git a/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage/neu/headstage_reset.h b/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage/neu/headstage_reset.h index bbb4afe11..046984c38 100644 --- a/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage/neu/headstage_reset.h +++ b/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage/neu/headstage_reset.h @@ -11,13 +11,14 @@ static void MCUReset(){ // Reset INSTRUCTION & NEULIVE_STATE ResetINSTRUCTION(); + spi_state_counter = 0; + // SPI buffer reset for(int i=0 ; i