diff options
| author | 2019-04-13 12:40:52 -0400 | |
|---|---|---|
| committer | 2019-04-13 12:40:52 -0400 | |
| commit | 55bfff7cf6541caac172b43186cf14405185b14d (patch) | |
| tree | c1ae99d2b39f8df8933d81ec2e61e81050bdb410 /frontends/calculator/CEdev/examples/delay/src | |
| parent | 761462861fc1228e65546c4e0f877d5212320082 (diff) | |
| download | cetris-55bfff7cf6541caac172b43186cf14405185b14d.tar.gz cetris-55bfff7cf6541caac172b43186cf14405185b14d.tar.bz2 cetris-55bfff7cf6541caac172b43186cf14405185b14d.zip | |
fix curses on linux
Diffstat (limited to 'frontends/calculator/CEdev/examples/delay/src')
| -rw-r--r-- | frontends/calculator/CEdev/examples/delay/src/main.c | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/frontends/calculator/CEdev/examples/delay/src/main.c b/frontends/calculator/CEdev/examples/delay/src/main.c index 2fb8c41..46856a8 100644 --- a/frontends/calculator/CEdev/examples/delay/src/main.c +++ b/frontends/calculator/CEdev/examples/delay/src/main.c @@ -1,16 +1,16 @@ -#include <stdbool.h> -#include <stddef.h> -#include <stdint.h> -#include <tice.h> - -void main(void) { - /* Clear the homescreen */ - os_ClrHome(); - - /* Wait for 5 seconds */ - os_PutStrFull("Waiting for 5000 ms..."); - delay(5000); - os_SetCursorPos(1, 22); - os_PutStrFull("Done"); - delay(100); -} +#include <stdbool.h>
+#include <stddef.h>
+#include <stdint.h>
+#include <tice.h>
+
+void main(void) {
+ /* Clear the homescreen */
+ os_ClrHome();
+
+ /* Wait for 5 seconds */
+ os_PutStrFull("Waiting for 5000 ms...");
+ delay(5000);
+ os_SetCursorPos(1, 22);
+ os_PutStrFull("Done");
+ delay(100);
+}
|