From 061064c27afa3da154b35f1fe9745dfd21ebde71 Mon Sep 17 00:00:00 2001 From: Roy Date: Wed, 18 May 2022 15:17:38 +0800 Subject: [PATCH] [update] don't use GPT_MODE_PERIODIC_DOWN --- .../simple_peripheral/cc26xx/app/headstage/EliteGPTimer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage/EliteGPTimer.h b/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage/EliteGPTimer.h index 9076b46..efe4c79 100644 --- a/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage/EliteGPTimer.h +++ b/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage/EliteGPTimer.h @@ -24,7 +24,7 @@ static void elite_gptimer_callback(GPTimerCC26XX_Handle handle, GPTimerCC26XX_In GPTimerCC26XX_Params params; \ GPTimerCC26XX_Params_init(¶ms); \ params.width = GPT_CONFIG_16BIT; \ - params.mode = GPT_MODE_PERIODIC_DOWN; \ + params.mode = GPT_MODE_PERIODIC_UP; \ params.debugStallMode = GPTimerCC26XX_DEBUG_STALL_OFF; \ gptimer_handle = GPTimerCC26XX_open(Board_GPTIMER0A, ¶ms); \ Types_FreqHz freq; \