Skip to content

Commit 6609d63

Browse files
committed
stmhal: Add comment to DAC driver for function to implement.
1 parent b13492f commit 6609d63

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

stmhal/dac.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,9 @@ STATIC const mp_method_t pyb_dac_methods[] = {
265265
{ "triangle", &pyb_dac_triangle_obj },
266266
{ "write", &pyb_dac_write_obj },
267267
{ "dma", &pyb_dac_dma_obj },
268+
// TODO add function that does double buffering:
269+
// dma2(freq, buf1, buf2, callback)
270+
// where callback is called when the buffer has been drained
268271
{ NULL, NULL },
269272
};
270273

0 commit comments

Comments
 (0)