Skip to content

Commit 7cd969e

Browse files
committed
Fixing document triple quotes
1 parent 532ae2a commit 7cd969e

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

shared-bindings/adcbuffer/BufferedInput.c

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
//| """Use the BufferedInput on the given pin. Fill the given buffer from ADC read values at the supplied
4545
//| sample_rate.
4646
//|
47-
//| :param ~microcontroller.Pin pin: the pin to read from"""
47+
//| :param ~microcontroller.Pin pin: the pin to read from
4848
//| :param ~circuitpython_typing.WriteableBuffer buffer: buffer: A buffer for samples
4949
//| :param ~int sample_rate: rate: The desired playback sample rate
5050
//|
@@ -147,13 +147,12 @@ STATIC mp_obj_t adcbuffer_bufferedinput___exit__(size_t n_args, const mp_obj_t *
147147
}
148148
STATIC MP_DEFINE_CONST_FUN_OBJ_VAR_BETWEEN(adcbuffer_bufferedinput___exit___obj, 4, 4, adcbuffer_bufferedinput___exit__);
149149

150-
//| value: --> None
151-
//| """Fills the supplied buffer with ADC values using DMA transfer.
150+
//| value: None
151+
//| """Fills the supplied buffer with ADC values using DMA transfer.
152152
//| If the buffer is 8-bit, then values are 8-bit shifted and error bit is off.
153153
//| If buffer is 16-bit, then values are not shifted and error bit is present.
154154
//| Number of transfers is always the number of samples which is the array
155155
//| byte length divided by the bytes_per_sample."""
156-
//| ...
157156
//|
158157
STATIC mp_obj_t adcbuffer_bufferedinput_obj_readmultiple(mp_obj_t self_in) {
159158
adcbuffer_bufferedinput_obj_t *self = MP_OBJ_TO_PTR(self_in);

0 commit comments

Comments
 (0)