Skip to content

Commit 2ecf60b

Browse files
Fix build
1 parent 517e8ce commit 2ecf60b

File tree

1 file changed

+3
-3
lines changed
  • examples/fileio_detect/src

1 file changed

+3
-3
lines changed

examples/fileio_detect/src/main.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ void main(void) {
1919
int8_t y = 0;
2020
ti_var_t myVar;
2121
char *var_name;
22-
23-
/* Clear the homescreen */
24-
os_ClrHome();
2522

2623
/* First couple bytes of the LibLoad AppVar, which is known to exist *
2724
/* Technically is a null-terminated string, if an odd looking one */
2825
const char search_string[] = { 0xFD, 0x21, 0x80, 0x00 };
2926

27+
/* Clear the homescreen */
28+
os_ClrHome();
29+
3030
/* Find all of the variables that start with this string */
3131
while ((var_name = ti_Detect(&search_pos, search_string)) != NULL) {
3232
/* Print the name of the variable (Should be LibLoad) */

0 commit comments

Comments
 (0)