diff options
author | Joey Castillo <joeycastillo@utexas.edu> | 2022-05-09 10:54:13 -0400 |
---|---|---|
committer | Joey Castillo <joeycastillo@utexas.edu> | 2022-05-09 10:55:28 -0400 |
commit | 0c87114ee13a0b9124c48699a63f6631974a5bf7 (patch) | |
tree | 358e1d12d2604130348625b126e8721abd5e1da4 | |
parent | a54220d95a1c5f862152d402e60afde4bc044533 (diff) | |
download | Sensor-Watch-0c87114ee13a0b9124c48699a63f6631974a5bf7.tar.gz Sensor-Watch-0c87114ee13a0b9124c48699a63f6631974a5bf7.tar.bz2 Sensor-Watch-0c87114ee13a0b9124c48699a63f6631974a5bf7.zip |
simulator: fix _read function signature
-rw-r--r-- | watch-library/simulator/watch/watch_private.c | 4 |
1 files 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; } |