summaryrefslogtreecommitdiff
path: root/firmware/target/arm/tms320dm320/spi-target.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/tms320dm320/spi-target.h')
-rw-r--r--firmware/target/arm/tms320dm320/spi-target.h14
1 files changed, 3 insertions, 11 deletions
diff --git a/firmware/target/arm/tms320dm320/spi-target.h b/firmware/target/arm/tms320dm320/spi-target.h
index 013737b291..965d499377 100644
--- a/firmware/target/arm/tms320dm320/spi-target.h
+++ b/firmware/target/arm/tms320dm320/spi-target.h
@@ -22,23 +22,15 @@
#ifndef SPI_TARGET_H
#define SPI_TARGET_H
-#include <inttypes.h>
-#include <stdbool.h>
-
enum SPI_target {
-#ifndef CREATIVE_ZVx
+#if defined(CREATIVE_ZVx)
+ SPI_target_LTV250QV = 0,
+#elif defined(MROBE_500)
SPI_target_TSC2100 = 0,
SPI_target_RX5X348AB,
SPI_target_BACKLIGHT,
-#else
- SPI_target_LTV250QV = 0,
#endif
SPI_MAX_TARGETS,
};
-void spi_init(void);
-int spi_block_transfer(enum SPI_target target,
- const uint8_t *tx_bytes, unsigned int tx_size,
- uint8_t *rx_bytes, unsigned int rx_size);
-
#endif