This commit is contained in:
YiChin
2019-05-07 16:19:21 +08:00
parent 6568045f46
commit fb3f2860ea
@@ -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++) {