mirror of
https://github.com/suchmememanyskill/TegraExplorer.git
synced 2024-11-09 13:41:45 +00:00
Add that inside functions no "" are required for <=>+-/*
This commit is contained in:
parent
15e1210179
commit
195d9797fe
2 changed files with 5 additions and 7 deletions
|
@ -120,12 +120,10 @@ int menu_make(menu_entry *entries, int amount, char *toptext){
|
||||||
|
|
||||||
res = 0;
|
res = 0;
|
||||||
while (!res){
|
while (!res){
|
||||||
if (!res){
|
if (sd_inited && !!gpio_read(GPIO_PORT_Z, GPIO_PIN_1)){
|
||||||
if (sd_inited && !!gpio_read(GPIO_PORT_Z, GPIO_PIN_1)){
|
gfx_errDisplay("menu", ERR_SD_EJECTED, 0);
|
||||||
gfx_errDisplay("menu", ERR_SD_EJECTED, 0);
|
sd_unmount();
|
||||||
sd_unmount();
|
return -1;
|
||||||
return -1;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
res = btn_read();
|
res = btn_read();
|
||||||
|
|
|
@ -70,7 +70,7 @@ u32 splitargs(char* in) {
|
||||||
}
|
}
|
||||||
i--;
|
i--;
|
||||||
}
|
}
|
||||||
else if (in[i] >= '0' && in[i] <= '9')
|
else if ((in[i] >= '0' && in[i] <= '9') || (in[i] >= '<' && in[i] <= '>') || in[i] == '+' || in[i] == '-' || in[i] == '*' || in[i] == '/')
|
||||||
argv[curcount][current++] = in[i];
|
argv[curcount][current++] = in[i];
|
||||||
else if (in[i] == '"') {
|
else if (in[i] == '"') {
|
||||||
i++;
|
i++;
|
||||||
|
|
Loading…
Reference in a new issue