Skip to content

Commit 723a6f0

Browse files
committed
disable Debug mode
1 parent e990dae commit 723a6f0

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

MinterWallet.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ void loop()
160160

161161
if (minterApi.getAddress(walletAddress, 0, wallet) == MINTERAPI_OK)
162162
{
163-
#ifdef _DEBUG_ // #endif
163+
#ifdef __DEBUG_ // #endif
164164
minterApi.printWallet(wallet, "main ");
165165
#endif
166166
display.clear();

http.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#define HTTP_RESULT_STATUS 200 //200
66
#define HTTP_RESULT_ERROR 0
77

8-
#define HTTP_DEBUG
8+
#define __HTTP_DEBUG //
99
// #define ARDUINO
1010

1111
#if defined(ARDUINO)

minterapi.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ uint8_t MinterApi::parseWallet(const String json, Wallet &wallet)
141141
uint8_t MinterApi::get(const String method, const String params, String &content)
142142
{
143143
const String getUrl = String("/") + method + String("?") + params;
144-
#ifdef __MINTERAPI_DEBUG
144+
#ifdef _MINTERAPI_DEBUG
145145
// url = url.operator+=("/").operator+=(method).operator+=("?").operator+=(params);
146146
Serial << "MinterApi::get(" << method << "," << params << ") " << getUrl << endl;
147147
#endif

minterapi.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#ifndef MINTERAPI_H
22
#define MINTERAPI_H
33

4-
#define MINTERAPI_DEBUG
4+
#define __MINTERAPI_DEBUG
55
#define MINTERAPI_JSON_STATUS_OK 1
66
#define MINTERAPI_JSON_STATUS_ERROR 0
77

0 commit comments

Comments
 (0)