]> git.earman.xyz Git - sensor-watch.git/commitdiff
simulator: fix _read function signature
authorJoey Castillo <joeycastillo@utexas.edu>
Mon, 9 May 2022 14:54:13 +0000 (10:54 -0400)
committerJoey Castillo <joeycastillo@utexas.edu>
Mon, 9 May 2022 14:55:28 +0000 (10:55 -0400)
watch-library/simulator/watch/watch_private.c

index 4ddc21828329a728cf83fe0c2a27d527a000bc69..3425341a98ae491ab70922dd826bd9b462a2a871 100644 (file)
@@ -63,7 +63,7 @@ int _write(int file, char *ptr, int len) {
     return 0;
 }
 
-// this method could be overridden to read stuff from the USB console? but no need rn.
-int _read(void) {
+int _read(int file, char *ptr, int len) {
+    // TODO: hook to UI
     return 0;
 }