Procházet zdrojové kódy

syslog: fixed building syslog-disabled firmware

Sergey Alirzaev před 4 roky
rodič
revize
ec0ae786fe
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  1. 1 0
      modules/syslog.h

+ 1 - 0
modules/syslog.h

@@ -6,6 +6,7 @@ void syslog(char *fmt, ...);
 void syslog_str(char *msg);
 #else // defined(HARDWARE_BT6711) && !defined(BT6702_SERVICE)
 #define openlog()
+#define syslog(...)
 #define syslog_str(msg)
 #endif // defined(HARDWARE_BT6711) && !defined(BT6702_SERVICE)
 #endif // __SYSLOG_H__