@@ -5,5 +5,7 @@ add_executable(TMSG44_CoolPi command.c main.c
Devices/ad9912.c
Devices/lmk04821.c
Devices/lmx2594.c
+ Devices/dac8811.c
Devices/tmsgheaders.c)
+target_link_libraries(TMSG44_CoolPi m)
@@ -1,4 +1,4 @@
-#include <dac8811.h>
+#include "dac8811.h"
void dac8811_set(void *bar1, uint16_t dac_data) {
@@ -1,4 +1,5 @@
#include "lmx2594.h"
+#include <math.h>
const uint32_t lmx2594_rst[] = {
@@ -97,7 +97,7 @@ void handleAttCmd(const char* recvBuff)
splitLexeme(recvBuff, attCode, sizeof(attCode[0]), convertToUInt16);
printf("\n%u\n", attCode[0]);
- dac8811_set_att(bar1,attCode[0]);
+ dac8811_att_set(bar1,attCode[0]);
}
void handleIdnCmd(const char* recvBuff)