From: Joey Castillo Date: Mon, 9 May 2022 14:54:13 +0000 (-0400) Subject: simulator: fix _read function signature X-Git-Url: https://git.earman.xyz/?a=commitdiff_plain;h=0c87114ee13a0b9124c48699a63f6631974a5bf7;p=sensor-watch.git simulator: fix _read function signature --- diff --git a/watch-library/simulator/watch/watch_private.c b/watch-library/simulator/watch/watch_private.c index 4ddc218..3425341 100644 --- a/watch-library/simulator/watch/watch_private.c +++ b/watch-library/simulator/watch/watch_private.c @@ -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; }