add debug header file #3

Merged
emilyd merged 6 commits from debug_helper into main 2023-07-21 06:37:36 +00:00
Showing only changes of commit 51a1bf7f0e - Show all commits

View File

@ -71,6 +71,9 @@ int main(int argc, char **argv) {
printheader();
logprint(0, "Welcome to LibreShop!\n");
#ifdef DEBUG_H
logprint(2, "Warning! You are running a DEBUG build.\n");
#endif
logprint(0, "Initializing network.\n");
ret = if_config(localip, netmask, gateway, TRUE, 20);