stmhal: Include MICROPY_HAL_H only if defined.

Helps other ports.
This commit is contained in:
Paul Sokolovsky 2014-12-20 20:45:01 +02:00
parent 6efa66f125
commit bf19586c53

View File

@ -42,7 +42,9 @@
#include "repl.h"
#include "gc.h"
#include "gccollect.h"
#ifdef MICROPY_HAL_H
#include MICROPY_HAL_H
#endif
#include "systick.h"
#include "readline.h"
#include "pyexec.h"