diff --git a/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage/Elite_version.h b/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage/Elite_version.h index 21f3e71..0d0a2d9 100644 --- a/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage/Elite_version.h +++ b/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage/Elite_version.h @@ -5,8 +5,8 @@ #define VERSION_DATE_YEAR 23 #define VERSION_DATE_MONTH 3 #define VERSION_DATE_DAY 15 -#define VERSION_DATE_HOUR 16 -#define VERSION_DATE_MINUTE 45 +#define VERSION_DATE_HOUR 18 +#define VERSION_DATE_MINUTE 3 // this is NOT the version hash !! // it's the last version hash diff --git a/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage/unfinished_code.h b/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage/unfinished_code.h index 66ac470..88634d0 100644 --- a/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage/unfinished_code.h +++ b/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage/unfinished_code.h @@ -1295,18 +1295,14 @@ uint8_t gpio_create(void) static uint8_t pin_set(uint8_t pin, uint8_t set_value) { - /* - * if status = 0: success - * else: fail - */ + //ret=0 -> success + // =2 -> no access uint8_t p = pin; uint8_t v = set_value; - PIN_Status status; + PIN_Handle *h = &eliteCtrlHandle; - status = PIN_setOutputValue(*h, p, v); - - return (uint8_t)status; + return (uint8_t)(PIN_setOutputValue(*h, p, v)); } static void adc_sel_set(uint8_t adc_sel)