Sfoglia il codice sorgente

syslog: fixed building syslog-disabled firmware

Sergey Alirzaev 4 anni fa
parent
commit
ec0ae786fe
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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__