DebugLog level in every header
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#define DEBUGLOG_DEFAULT_LOG_LEVEL_INFO
|
||||||
|
|
||||||
#include <DebugLog.h>
|
#include <DebugLog.h>
|
||||||
#include <Arduino.h>
|
#include <Arduino.h>
|
||||||
#include <Network.h>
|
#include <Network.h>
|
||||||
|
|||||||
@@ -1,4 +1,8 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#define DEBUGLOG_DEFAULT_LOG_LEVEL_INFO
|
||||||
|
|
||||||
|
#include <DebugLog.h>
|
||||||
#include "I2C_Driver.h"
|
#include "I2C_Driver.h"
|
||||||
|
|
||||||
/****************************************************** The macro defines the TCA9554PWR information ******************************************************/
|
/****************************************************** The macro defines the TCA9554PWR information ******************************************************/
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#define DEBUGLOG_DEFAULT_LOG_LEVEL_INFO
|
||||||
|
|
||||||
#include <DebugLog.h>
|
#include <DebugLog.h>
|
||||||
#include <Arduino.h>
|
#include <Arduino.h>
|
||||||
#include <Wire.h>
|
#include <Wire.h>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
// #define DEBUGLOG_DEFAULT_LOG_LEVEL_TRACE
|
#define DEBUGLOG_DEFAULT_LOG_LEVEL_INFO
|
||||||
|
|
||||||
#include <DebugLog.h>
|
#include <DebugLog.h>
|
||||||
#include <Arduino.h>
|
#include <Arduino.h>
|
||||||
|
|||||||
@@ -1,5 +1,8 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#define DEBUGLOG_DEFAULT_LOG_LEVEL_INFO
|
||||||
|
|
||||||
|
#include <DebugLog.h>
|
||||||
#include "I2C_Driver.h"
|
#include "I2C_Driver.h"
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
namespace drivers
|
namespace drivers
|
||||||
{
|
{
|
||||||
|
|
||||||
S50140::S50140(drivers::MODBUS &bus, const uint8_t address) : m_bus(bus), m_address(address)
|
S50140::S50140(drivers::MODBUS &bus, const uint8_t address) : m_bus(bus), m_address(address), m_lastRequest(millis())
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
S50140::~S50140()
|
S50140::~S50140()
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#define DEBUGLOG_DEFAULT_LOG_LEVEL_INFO
|
||||||
|
|
||||||
#include <DebugLog.h>
|
#include <DebugLog.h>
|
||||||
#include <RS485_Driver.h>
|
#include <RS485_Driver.h>
|
||||||
|
|
||||||
@@ -75,6 +77,6 @@ namespace drivers
|
|||||||
private:
|
private:
|
||||||
const uint8_t m_address;
|
const uint8_t m_address;
|
||||||
drivers::MODBUS &m_bus;
|
drivers::MODBUS &m_bus;
|
||||||
uint64_t m_lastRequest = 0;
|
uint64_t m_lastRequest;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@@ -1,5 +1,7 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#define DEBUGLOG_DEFAULT_LOG_LEVEL_INFO
|
||||||
|
|
||||||
#include <DebugLog.h>
|
#include <DebugLog.h>
|
||||||
#include <RS485_Driver.h>
|
#include <RS485_Driver.h>
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#define DEBUGLOG_DEFAULT_LOG_LEVEL_INFO
|
||||||
|
|
||||||
#include <Arduino.h>
|
#include <Arduino.h>
|
||||||
#include <DebugLog.h>
|
#include <DebugLog.h>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|||||||
Reference in New Issue
Block a user