From 7cd969e23675061415d9da3e7f2b85968f01f32b Mon Sep 17 00:00:00 2001 From: Lee Atkinson Date: Thu, 25 Aug 2022 17:09:50 -0400 Subject: [PATCH] Fixing document triple quotes --- shared-bindings/adcbuffer/BufferedInput.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/shared-bindings/adcbuffer/BufferedInput.c b/shared-bindings/adcbuffer/BufferedInput.c index f84a5c6069..25e1b75cd7 100644 --- a/shared-bindings/adcbuffer/BufferedInput.c +++ b/shared-bindings/adcbuffer/BufferedInput.c @@ -44,7 +44,7 @@ //| """Use the BufferedInput on the given pin. Fill the given buffer from ADC read values at the supplied //| sample_rate. //| -//| :param ~microcontroller.Pin pin: the pin to read from""" +//| :param ~microcontroller.Pin pin: the pin to read from //| :param ~circuitpython_typing.WriteableBuffer buffer: buffer: A buffer for samples //| :param ~int sample_rate: rate: The desired playback sample rate //| @@ -147,13 +147,12 @@ STATIC mp_obj_t adcbuffer_bufferedinput___exit__(size_t n_args, const mp_obj_t * } STATIC MP_DEFINE_CONST_FUN_OBJ_VAR_BETWEEN(adcbuffer_bufferedinput___exit___obj, 4, 4, adcbuffer_bufferedinput___exit__); -//| value: --> None -//| """Fills the supplied buffer with ADC values using DMA transfer. +//| value: None +//| """Fills the supplied buffer with ADC values using DMA transfer. //| If the buffer is 8-bit, then values are 8-bit shifted and error bit is off. //| If buffer is 16-bit, then values are not shifted and error bit is present. //| Number of transfers is always the number of samples which is the array //| byte length divided by the bytes_per_sample.""" -//| ... //| STATIC mp_obj_t adcbuffer_bufferedinput_obj_readmultiple(mp_obj_t self_in) { adcbuffer_bufferedinput_obj_t *self = MP_OBJ_TO_PTR(self_in);