Эх сурвалжийг харах

syslog: fixed building syslog-disabled firmware

Sergey Alirzaev 4 жил өмнө
parent
commit
ec0ae786fe
1 өөрчлөгдсөн 1 нэмэгдсэн , 0 устгасан
  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__