Skip to content

Commit

Permalink
Update lisp library
Browse files Browse the repository at this point in the history
  • Loading branch information
vinc committed Oct 30, 2024
1 parent 5708d48 commit 7397a3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dsk/lib/lisp/file.lsp
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,11 @@

(def (clock/boot)
"Returns the number of seconds since boot"
(binary->number (read-binary "/dev/clk/boot") "float"))
(str->num (read "/dev/clk/boot")))

(def (clock/epoch)
"Returns the number of seconds since epoch"
(binary->number (read-binary "/dev/clk/epoch") "float"))
(str->num (read "/dev/clk/epoch")))

# Path

Expand Down

0 comments on commit 7397a3a

Please sign in to comment.