diff options
author | joeycastillo <joeycastillo@utexas.edu> | 2022-08-03 11:56:52 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-03 11:56:52 -0600 |
commit | e790a025787e0e1aa59b98b95e194cf4318d1578 (patch) | |
tree | 149bd53bbd46ebddd31957cc827a7c40ccf6f1a0 /watch-library/shared/watch/watch_private.h | |
parent | 6d87f5a6268a9a516d8c577dfd71b39a5bfc384a (diff) | |
parent | bcd3b666848214a735f37a5a4f08b157ba7bb3a1 (diff) | |
download | Sensor-Watch-e790a025787e0e1aa59b98b95e194cf4318d1578.tar.gz Sensor-Watch-e790a025787e0e1aa59b98b95e194cf4318d1578.tar.bz2 Sensor-Watch-e790a025787e0e1aa59b98b95e194cf4318d1578.zip |
Merge pull request #80 from joeycastillo/lfs
Movement: add a lil file system with lfs
Diffstat (limited to 'watch-library/shared/watch/watch_private.h')
-rw-r--r-- | watch-library/shared/watch/watch_private.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/watch-library/shared/watch/watch_private.h b/watch-library/shared/watch/watch_private.h index 7bb91d1f..9d55bc21 100644 --- a/watch-library/shared/watch/watch_private.h +++ b/watch-library/shared/watch/watch_private.h @@ -44,7 +44,8 @@ void _watch_enable_usb(void); // this function ends up getting called by printf to log stuff to the USB console. int _write(int file, char *ptr, int len); -// this method could be overridden to read stuff from the USB console? but no need rn. -int _read(void); +// i thought this would be called by gets but it doesn't? anyway it does get called by read() +// so that's our mechanism for reading data from the USB serial console. +int _read(int file, char *ptr, int len); #endif |