diff options
author | Damien George <damien.p.george@gmail.com> | 2014-12-07 17:03:47 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-12-07 17:03:47 +0000 |
commit | d0caaadaeea48e8f76dca3125a2dea3465a58416 (patch) | |
tree | 487534121492922cdaa320708bc1929168c50585 /stmhal/modnetwork.c | |
parent | 1f8a2f662369c0f51cfa8720d9a11cd187948bf6 (diff) |
stmhal: Allow network, uselect, usocket mods to be used by other ports.
Remove include of stm32f4xx_hal.h, replace by include of MICROPY_HAL_H
where needed, and make it compile without float support. This makes
these 3 modules much more generic and usable by other ports.
Diffstat (limited to 'stmhal/modnetwork.c')
-rw-r--r-- | stmhal/modnetwork.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/stmhal/modnetwork.c b/stmhal/modnetwork.c index e4d0fcdf9..21e279a99 100644 --- a/stmhal/modnetwork.c +++ b/stmhal/modnetwork.c @@ -29,8 +29,6 @@ #include <string.h> #include <errno.h> -#include "stm32f4xx_hal.h" - #include "mpconfig.h" #include "nlr.h" #include "misc.h" |