From f699ecdae91548a8ee2a9a790d94bcac4b06adff Mon Sep 17 00:00:00 2001 From: YiChin2018 Date: Tue, 20 Aug 2019 13:27:47 +0800 Subject: [PATCH] format --- python_test_code/devlib/main.py | 2 +- .../simple_peripheral/cc26xx/app/headstage/headstage_uni.h | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/python_test_code/devlib/main.py b/python_test_code/devlib/main.py index b79baa6f0..f90bca0f3 100644 --- a/python_test_code/devlib/main.py +++ b/python_test_code/devlib/main.py @@ -34,7 +34,7 @@ NEULIVE_PARAMETER = { 'PW': 0, # PULSE WIDTH 'TT': 9, # STIMULATION TIMES 'SB': 3, # STIMULATION BEHAVIOR - 'TF': 10, # STIMULATION FREQUENCY + 'TF': 1, # STIMULATION FREQUENCY 'CA': 1, # AMP CHANNEL A ENABLE 'CB': 0, # AMP CHANNEL B ENABLE 'CC': 0, # AMP CHANNEL C ENABLE 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 5c48a71fd..581113df4 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 @@ -37,7 +37,7 @@ #include "uni/headstage_spi.h" #include "uni/headstage_pwm.h" #include "uni/headstage_adc.h" -#include "uni/uni1.2_parameter.h" +#include "uni/uni1.3_parameter.h" #include "headstage_indicate.h" /*=================================== @@ -844,6 +844,7 @@ static void headstage_umc_state_transfer_ask() { case UMC_STATE_TRIGGER: case UMC_STATE_CONTINUOUS: case UMC_STATE_LIMITED: + case UMC_STATE_INTERRUPT: break; case UMC_STATE_WAIT_TRIGGER: headstage_state = UMC_STATE_TRIGGER; @@ -993,7 +994,8 @@ static void headstage_umc_state_transfer_lsk() { headstage_state = UMC_STATE_WAIT_START; } break; - + case UMC_STATE_INTERRUPT: + break; default: break; }