mirror of
https://gitlab.com/Nanolx/homebrewfilter.git
synced 2024-11-24 18:16:56 +01:00
Revert "store debug.txt on device choosen in settings"
This reverts commit b81834e353
.
This commit is contained in:
parent
46df5b8b65
commit
b03bf57691
@ -11,7 +11,7 @@ extern "C" void sdprintf(const char * format, ...)
|
||||
{
|
||||
FILE * file;
|
||||
|
||||
file = fopen((Settings.device_dat + ":/config/HBF/debug.txt").c_str(), "a");
|
||||
file = fopen("sd1:/config/HBF/debug.txt", "a");
|
||||
if(file)
|
||||
{
|
||||
fprintf(file, "%s", tmp);
|
||||
@ -28,10 +28,10 @@ extern "C" void xprintf(const char *str, ...)
|
||||
{
|
||||
if(Options.sdgecko)
|
||||
sdprintf(str);
|
||||
|
||||
else if(Options.wifigecko)
|
||||
wifi_printf(str);
|
||||
#ifndef VWII
|
||||
else
|
||||
gprintf(str);
|
||||
#endif
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user