We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 517e8ce commit 2ecf60bCopy full SHA for 2ecf60b
examples/fileio_detect/src/main.c
@@ -19,14 +19,14 @@ void main(void) {
19
int8_t y = 0;
20
ti_var_t myVar;
21
char *var_name;
22
-
23
- /* Clear the homescreen */
24
- os_ClrHome();
25
26
/* First couple bytes of the LibLoad AppVar, which is known to exist *
27
/* Technically is a null-terminated string, if an odd looking one */
28
const char search_string[] = { 0xFD, 0x21, 0x80, 0x00 };
29
+ /* Clear the homescreen */
+ os_ClrHome();
+
30
/* Find all of the variables that start with this string */
31
while ((var_name = ti_Detect(&search_pos, search_string)) != NULL) {
32
/* Print the name of the variable (Should be LibLoad) */
0 commit comments