Commit 13400e13 authored by Krzysztof Blazewicz's avatar Krzysztof Blazewicz
Browse files

stmhal/hal: do not include <stdio.h> in HAL headers

stdio.h was included in all HAL files only to provide
definition of NULL symbol

"stdio.h" includes "types.h" which contains some conflicting definitions
with "drivers/cc3000/inc/socket.h"
parent 8fa07336
......@@ -47,7 +47,9 @@
/* Includes ------------------------------------------------------------------*/
#include "stm32f4xx.h"
#include "Legacy/stm32_hal_legacy.h"
#include <stdio.h>
#ifndef NULL
#define NULL (void*)0
#endif
/* Exported types ------------------------------------------------------------*/
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment