Skip to content

Commit 64b822c

Browse files
jeplertannewt
andauthored
Apply suggestions from code review
Co-authored-by: Scott Shawcroft <[email protected]>
1 parent 95b92ab commit 64b822c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

shared-bindings/floppyio/__init__.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,14 +117,14 @@ MP_DEFINE_CONST_FUN_OBJ_KW(floppyio_flux_readinto_obj, 0, floppyio_flux_readinto
117117
//| The following code can convert a number in nanoseconds to a number of samples
118118
//| for a given sample rate:
119119
//|
120-
//| . code-block:: py
120+
//| .. code-block:: py
121121
//|
122122
//| def ns_to_count(ns, samplerate):
123123
//| return round(ns * samplerate * 1e-9)
124124
//|
125125
//| This means the following typical values are a good starting place for a 1.44MB floppy:
126126
//|
127-
//| . code-block:: py
127+
//| .. code-block:: py
128128
//|
129129
//| t2_max = ns_to_count(2500, samplerate) # Mid way between T2 and T3 length
130130
//| t3_max = ns_to_count(3500, samplerate) # Mid way between T2 and T3 length

0 commit comments

Comments
 (0)