added missing xprintf.[ch]

This commit is contained in:
Christopher Roy Bratusek 2012-08-31 10:34:49 +02:00
parent ab7b966030
commit a9e611bb1e
2 changed files with 12 additions and 0 deletions

11
main/source/xprintf.cpp Normal file
View 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
View File

@ -0,0 +1 @@
void xprintf(const char *str, ...);