8000 Merge pull request #1 from jshimbo/jshimbo-patch-1 · adafruit/circuitpython@84da3b2 · GitHub
[go: up one dir, main page]

Skip to content

Commit 84da3b2

Browse files
authored
Merge pull request #1 from jshimbo/jshimbo-patch-1
Typo in docs for supervisor.ticks_ms()
2 parents 3056365 + c0b57ff commit 84da3b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shared-bindings/supervisor/__init__.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ MP_DEFINE_CONST_FUN_OBJ_KW(supervisor_set_next_code_file_obj, 0, supervisor_set_
197197
//|
198198
//| def ticks_add(ticks, delta):
199199
//| "Add a delta to a base number of ticks, performing wraparound at 2**29ms."
200-
//| return (a + b) % _TICKS_PERIOD
200+
//| return (ticks + delta) % _TICKS_PERIOD
201201
//|
202202
//| def ticks_diff(ticks1, ticks2):
203203
//| "Compute the signed difference between two ticks values, assuming that they are within 2**28 ticks"

0 commit comments

Comments
 (0)
0