From fb3f2860ea4a3c706a84cf85c7bb71ba6145e7ea Mon Sep 17 00:00:00 2001 From: YiChin Date: Tue, 7 May 2019 16:19:21 +0800 Subject: [PATCH] bug fix --- .../simple_peripheral/cc26xx/app/headstage/impedance_meter.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/impedance_meter.h b/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage/impedance_meter.h index 3b5e0ae58..17cc579f5 100644 --- a/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage/impedance_meter.h +++ b/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage/impedance_meter.h @@ -267,7 +267,7 @@ static void ADC_SPI(uint16_t ADCin) { } static void DAC_outputV(uint8_t command, uint8_t v1, uint8_t v2) { - spi_DACtxbuf[0] = command + spi_DACtxbuf[0] = command; spi_DACtxbuf[1] = v1; spi_DACtxbuf[2] = v2; for (int i = 2; i < SPI_DAC_SIZE; i++) {