#include "rpp/rpp.h"
-#if rppCONFIG_DRV == 1
+#ifndef FREERTOS_POSIX
#include "drv/dac.h"
#endif
return FAILURE;
}
initialized = TRUE;
-#if rppCONFIG_DRV == 1
+#ifndef FREERTOS_POSIX
spi_tms570_init();
#endif
// Configure board
// If changed commit changes to hardware
if(changed_st[i]) {
- #if rppCONFIG_DRV == 1
- // TODO: Confirm via returned SPI code that transfer was successfull
+#ifndef FREERTOS_POSIX
+ // TODO: Confirm via returned SPI code that transfer was successful
drv_dac_spi_transfer(i, enabled_cache[i], out_cache[i]);
- #else
+#else
UNUSED(enabled_cache);
UNUSED(out_cache);
- #endif
+#endif
changed_st[i] = FALSE;
}