diff --git a/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage/mode_dev_tool.h b/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage/mode_dev_tool.h index dfe4960..01b40fb 100644 --- a/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage/mode_dev_tool.h +++ b/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage/mode_dev_tool.h @@ -143,10 +143,10 @@ static void dev_tool_spi(uint8_t *ins_buf) pin_set(E_PIN_ADCCS, 1); } else if (chip_sel == DT_CHIP_DAC) { - pin_set(E_PIN_ADCCS, 0); + pin_set(E_PIN_DACCS, 0); memcpy(tx, &p[7], txlen); spi1_write(rx, tx, txlen); - pin_set(E_PIN_ADCCS, 1); + pin_set(E_PIN_DACCS, 1); } else if (chip_sel == DT_CHIP_MEM) { pin_set(E_PIN_MEMCS, 0);