summaryrefslogtreecommitdiffstatshomepage
path: root/stmhal/bufhelper.c
diff options
context:
space:
mode:
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 5612a048dc..c5dcd6c1d2 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;