From 9380ecacec7b6d39085dfcf4f197be9d72d035ee Mon Sep 17 00:00:00 2001 From: weiting2 Date: Thu, 26 Dec 2019 11:51:52 +0800 Subject: [PATCH] VIS_FUH call DBS interrupt --- .../cc26xx/app/headstage/headstage_uni.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage/headstage_uni.h b/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage/headstage_uni.h index 3d0dff15a..afa82edda 100644 --- a/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage/headstage_uni.h +++ b/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage/headstage_uni.h @@ -840,7 +840,14 @@ static void headstage_update_vis_instruction(uint8_t vis_oper) { tx_put_u32(0, value); headstage_spi_ask_transaction(4); break; - + case VIS_FUH: + headstage_state = DEBUG; + headstage_led_spi_color(COLOR_BLUE); + uint32_t value; + uint8_t new_config_type = build_umn_ins_config(CONFIG_DONE, &value); + tx_put_u32(0, value); + headstage_spi_ask_transaction(4); + break; default: break; }