mirror of
https://gitlab.com/Nanolx/homebrewfilter.git
synced 2025-01-12 17:19:14 +01:00
added missing xprintf.[ch]
This commit is contained in:
parent
ab7b966030
commit
a9e611bb1e
11
main/source/xprintf.cpp
Normal file
11
main/source/xprintf.cpp
Normal file
@ -0,0 +1,11 @@
|
||||
#include "main.h"
|
||||
#include "gecko.h"
|
||||
#include "Network/wifi_gecko.h"
|
||||
|
||||
void xprintf(const char *str, ...)
|
||||
{
|
||||
if(Options.wifigecko)
|
||||
wifi_printf(str);
|
||||
else
|
||||
gprintf(str);
|
||||
}
|
1
main/source/xprintf.h
Normal file
1
main/source/xprintf.h
Normal file
@ -0,0 +1 @@
|
||||
void xprintf(const char *str, ...);
|
Loading…
x
Reference in New Issue
Block a user