comparison 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
comparison
equal deleted inserted replaced
119:76fa42fc0b20 120:6347a86caa18
19 ****************************************************************************** 19 ******************************************************************************
20 */ 20 */
21 21
22 /* Includes ------------------------------------------------------------------*/ 22 /* Includes ------------------------------------------------------------------*/
23 #include "spi.h" 23 #include "spi.h"
24 #include "dma.h"
24 //#include "gpio.h" 25 //#include "gpio.h"
25 26
26 /* USER CODE BEGIN 0 */ 27 /* USER CODE BEGIN 0 */
27 #include "scheduler.h" 28 #include "scheduler.h"
28 29
30 #ifdef DEBUG_GPIO
29 extern void GPIO_new_DEBUG_LOW(void); 31 extern void GPIO_new_DEBUG_LOW(void);
30 extern void GPIO_new_DEBUG_HIGH(void); 32 extern void GPIO_new_DEBUG_HIGH(void);
33 #endif
31 34
32 uint8_t data_error = 0; 35 uint8_t data_error = 0;
33 uint32_t data_error_time = 0; 36 uint32_t data_error_time = 0;
34 37
35 static void SPI_Error_Handler(void); 38 static void SPI_Error_Handler(void);