summaryrefslogtreecommitdiffstatshomepage
path: root/stmhal/bufhelper.h
diff options
context:
space:
mode:
Diffstat (limited to 'stmhal/bufhelper.h')
-rw-r--r--stmhal/bufhelper.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/stmhal/bufhelper.h b/stmhal/bufhelper.h
new file mode 100644
index 0000000000..9b58e817c8
--- /dev/null
+++ b/stmhal/bufhelper.h
@@ -0,0 +1,2 @@
+void pyb_buf_get_for_send(mp_obj_t o, mp_buffer_info_t *bufinfo, uint8_t *tmp_data);
+mp_obj_t pyb_buf_get_for_recv(mp_obj_t o, mp_buffer_info_t *bufinfo);