stmhal: Include MICROPY_HAL_H only if defined.

Helps other ports.
native-del-fast
Paul Sokolovsky 2014-12-20 20:45:01 +02:00
parent 6efa66f125
commit bf19586c53
1 changed files with 2 additions and 0 deletions

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"