diff Small_CPU/Src/spi.c @ 120:6347a86caa18 FlipDisplay

Cleanup warning and disable printf calls
author Ideenmodellierer
date Tue, 08 Jan 2019 22:31:17 +0100
parents 22a1094545f3
children 4b355396557a
line wrap: on
line diff
--- a/Small_CPU/Src/spi.c	Sun Jan 06 22:33:26 2019 +0100
+++ b/Small_CPU/Src/spi.c	Tue Jan 08 22:31:17 2019 +0100
@@ -21,13 +21,16 @@
 
 /* Includes ------------------------------------------------------------------*/
 #include "spi.h"
+#include "dma.h"
 //#include "gpio.h"
 
 /* USER CODE BEGIN 0 */
 #include "scheduler.h"
 
+#ifdef DEBUG_GPIO
 extern void GPIO_new_DEBUG_LOW(void);
 extern void GPIO_new_DEBUG_HIGH(void);
+#endif
 
 uint8_t data_error = 0;
 uint32_t data_error_time = 0;