From f7903a0a315e46ddf56a0073a33b7bb660e89f85 Mon Sep 17 00:00:00 2001 From: YiChin Date: Wed, 16 Oct 2019 17:03:24 +0800 Subject: [PATCH] CC mode earth --- .../cc26xx/app/headstage/EliteDeviceCorrection.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage/EliteDeviceCorrection.h b/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage/EliteDeviceCorrection.h index ac46f21c7..fa101c7ac 100644 --- a/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage/EliteDeviceCorrection.h +++ b/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage/EliteDeviceCorrection.h @@ -490,8 +490,8 @@ struct _correction{ .ADC_current[1].coeff = 659931818, .ADC_current[1].offset = (-10729666444387), -.ADC_current[2].coeff = 3445277, -.ADC_current[2].offset = (-560149594854), +.ADC_current[2].coeff = 31485559, +.ADC_current[2].offset = (-511907957163), .DAC2RealV.coeff = (-19047143), .DAC2RealV.offset = 565935714286, @@ -507,8 +507,6 @@ struct _correction{ }; #endif - - // this function turn ADC measure value (0xXXXX) into real voltage // unit should be mV static int32_t DecodeADCVolt(uint16_t ADC_measure){