aboutsummaryrefslogtreecommitdiff
path: root/stmhal/bufhelper.c
diff options
context:
space:
mode:
authorDamien George2014-05-03 13:24:21 +0100
committerDamien George2014-05-03 13:24:21 +0100
commit5874c1c92baac65834c4684e913ca0a7d8db8f50 (patch)
tree10e220915d654cf862ed73cefeed3366560857f6 /stmhal/bufhelper.c
parente88814a27492c41791bf2a10cd452340b54b66e5 (diff)
stmhal: Remove #include <stdint.h> from mpconfigport.h.
Make include dependencies neater, and adheres to the coding convention that headers should not include headers.
Diffstat (limited to 'stmhal/bufhelper.c')
-rw-r--r--stmhal/bufhelper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stmhal/bufhelper.c b/stmhal/bufhelper.c
index 5612a048d..c5dcd6c1d 100644
--- a/stmhal/bufhelper.c
+++ b/stmhal/bufhelper.c
@@ -4,7 +4,7 @@
#include "obj.h"
#include "bufhelper.h"
-void pyb_buf_get_for_send(mp_obj_t o, mp_buffer_info_t *bufinfo, uint8_t *tmp_data) {
+void pyb_buf_get_for_send(mp_obj_t o, mp_buffer_info_t *bufinfo, byte *tmp_data) {
if (MP_OBJ_IS_INT(o)) {
tmp_data[0] = mp_obj_get_int(o);
bufinfo->buf = tmp_data;