summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--stmhal/dac.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/stmhal/dac.c b/stmhal/dac.c
index 127623d9b4..3814039ccd 100644
--- a/stmhal/dac.c
+++ b/stmhal/dac.c
@@ -265,6 +265,9 @@ STATIC const mp_method_t pyb_dac_methods[] = {
{ "triangle", &pyb_dac_triangle_obj },
{ "write", &pyb_dac_write_obj },
{ "dma", &pyb_dac_dma_obj },
+ // TODO add function that does double buffering:
+ // dma2(freq, buf1, buf2, callback)
+ // where callback is called when the buffer has been drained
{ NULL, NULL },
};