diff options
author | Dave Hylands <dhylands@gmail.com> | 2014-06-15 22:33:14 -0700 |
---|---|---|
committer | Dave Hylands <dhylands@gmail.com> | 2014-06-15 22:48:05 -0700 |
commit | 4f1b7fec9f103c92de40875e9a06b7decc4923f4 (patch) | |
tree | d9e0f1b0e7dd290a728c065960500ecf30967997 /stmhal/pybstdio.c | |
parent | 2547928148aefcf163953057979e14f46bef1170 (diff) |
Updated teensy to build.
Refactored some stmhal files which are shared with teensy.
Diffstat (limited to 'stmhal/pybstdio.c')
-rw-r--r-- | stmhal/pybstdio.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/stmhal/pybstdio.c b/stmhal/pybstdio.c index 05ea06eb4..b6b5560be 100644 --- a/stmhal/pybstdio.c +++ b/stmhal/pybstdio.c @@ -25,8 +25,7 @@ */ #include <stdio.h> - -#include <stm32f4xx_hal.h> +#include <stdint.h> #include "misc.h" #include "mpconfig.h" @@ -38,6 +37,8 @@ #include "usb.h" #include "uart.h" +#include HAL_H + // TODO make stdin, stdout and stderr writable objects so they can // be changed by Python code. |