浏览代码

syslog: fixed building syslog-disabled firmware

Sergey Alirzaev 4 年之前
父节点
当前提交
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__