From 0c87114ee13a0b9124c48699a63f6631974a5bf7 Mon Sep 17 00:00:00 2001 From: Joey Castillo Date: Mon, 9 May 2022 10:54:13 -0400 Subject: simulator: fix _read function signature --- watch-library/simulator/watch/watch_private.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/watch-library/simulator/watch/watch_private.c b/watch-library/simulator/watch/watch_private.c index 4ddc2182..3425341a 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; } -- cgit v1.2.3