the push is modified as follows:

1. delete some junk files.
2. mqttclient added comments and updated to v1.0.2.
3. update README.md.
4. update the author's own server certificate.
5. minor changes to salof.
This commit is contained in:
jiejieTop
2020-03-21 21:47:08 +08:00
parent c0cb4460b7
commit 476e0dec02
43 changed files with 1100 additions and 15612 deletions

View File

@@ -1,6 +1,7 @@
#ifndef _SALOF_H_
#define _SALOF_H_
#include "salof_defconfig.h"
#include "format.h"
#include "fifo.h"
#include <stdio.h>
@@ -18,21 +19,19 @@ void salof(const char *fmt, ...);
#define FC_DARK 36
#define FC_WHITE 37
#if USE_LOG
#ifdef USE_LOG
#if USE_SALOF
#define PRINT_LOG salof
#define PRINT_LOG salof
#else
#if ((!USE_SALOF)&&(!PRINT_LOG))
#define PRINT_LOG printf
#define PRINT_LOG printf
#endif
#ifndef PRINT_LOG
#error "If the USE_LOG macro definition is turned on, you must define PRINT_LOG as the LOG output, such as #definePRINT_LOG printf"
#endif
#endif
#if LOG_TS || LOG_TAR
#endif
@@ -71,7 +70,7 @@ void salof(const char *fmt, ...);
#define DEBUG_LEVEL (INFO_LEVEL + 1)
#ifndef LOG_LEVEL
#define LOG_LEVEL WARN_LEVEL
#define LOG_LEVEL DEBUG_LEVEL
#endif
#if LOG_LEVEL < DEBUG_LEVEL