Skip to content

Commit

Permalink
Merge pull request #1 from jshimbo/jshimbo-patch-1
Browse files Browse the repository at this point in the history
Typo in docs for supervisor.ticks_ms()
  • Loading branch information
jshimbo committed Nov 24, 2022
2 parents 3056365 + c0b57ff commit 84da3b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shared-bindings/supervisor/__init__.c
Expand Up @@ -197,7 +197,7 @@ MP_DEFINE_CONST_FUN_OBJ_KW(supervisor_set_next_code_file_obj, 0, supervisor_set_
//|
//| def ticks_add(ticks, delta):
//| "Add a delta to a base number of ticks, performing wraparound at 2**29ms."
//| return (a + b) % _TICKS_PERIOD
//| return (ticks + delta) % _TICKS_PERIOD
//|
//| def ticks_diff(ticks1, ticks2):
//| "Compute the signed difference between two ticks values, assuming that they are within 2**28 ticks"
Expand Down

0 comments on commit 84da3b2

Please sign in to comment.