Skip to content

Commit 532ae2a

Browse files
committed
Fixing Document issues
1 parent 37b6079 commit 532ae2a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

shared-bindings/adcbuffer/BufferedInput.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,10 @@
6363
//| for i in range(length):
6464
//| print(i, mybuffer[i])
6565
//|
66-
//| (TODO) The reference voltage varies by platform so use ``reference_voltage`` to read the configured setting.
67-
//| (TODO) Provide mechanism to read CPU Temperature
68-
//| """
69-
//| ...
66+
//| (TODO) The reference voltage varies by platform so use
67+
//| ``reference_voltage`` to read the configured setting.
68+
//| (TODO) Provide mechanism to read CPU Temperature."""
69+
//| ...
7070
//|
7171
STATIC mp_obj_t adcbuffer_bufferedinput_make_new(const mp_obj_type_t *type, size_t n_args, size_t n_kw, const mp_obj_t *all_args) {
7272
enum { ARG_pin, ARG_buffer, ARG_sample_rate };
@@ -152,7 +152,7 @@ STATIC MP_DEFINE_CONST_FUN_OBJ_VAR_BETWEEN(adcbuffer_bufferedinput___exit___obj,
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
155-
//| byte length divided by the byte_per_sample. """
155+
//| byte length divided by the bytes_per_sample."""
156156
//| ...
157157
//|
158158
STATIC mp_obj_t adcbuffer_bufferedinput_obj_readmultiple(mp_obj_t self_in) {

0 commit comments

Comments
 (0)