Skip to content

Commit 74e7f27

Browse files
committed
remove debug log
1 parent 93ae858 commit 74e7f27

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

BC95.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@ This software is released under the MIT License.
1313
#include <Arduino.h>
1414
#include <IPAddress.h>
1515

16-
#define DEBUG
17-
18-
#ifdef DEBUG
16+
#if BC95_DEBUG == 1
1917
#define ECHO_DEBUG
2018
#define LOG_DEBUG
2119
#endif

NTPClient.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@ class NTPClient {
1313
BC95UDP* _udp;
1414
bool _udpSetup = false;
1515

16-
const char* _poolServerName = "pool.ntp.org"; // Default time server pool.ntp.org
17-
// const char* _poolServerName = "124.109.2.169"; // Default time server pool.ntp.org
18-
// IPAddress _poolServerName = IPAddress(124,109,2,169);
16+
const char* _poolServerName = "pool.ntp.org";
1917
int _port = NTP_DEFAULT_LOCAL_PORT;
2018
long _timeOffset = 0;
2119

settings.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ This software is released under the MIT License.
99
#ifndef SETTINGS_h
1010
#define SETTINGS_h
1111

12+
#define BC95_DEBUG 0
1213
#define DNS_MAX_RETRY 5
1314
#define MAX_UDP_PAYLOAD_SIZE 160
1415
#define MAX_BC95_BUFFER_SIZE 256
1516
#define SERIAL_READ_CHUNK_SIZE 7
1617
#define DEFAULT_SERIAL_TIMEOUT 500
1718
#define ENABLE_COAP_ACK_CALLBACK 0
1819
#define DEFAULT_DNS_SERVER IPAddress(8,8,8,8)
19-
2020
#endif

0 commit comments

Comments
 (0)