Skip to content

Commit

Permalink
chore: Exclude SSL_CLIENT_TEST_ENVIRONMENT from log_ header file
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertByrnes committed Jul 16, 2024
1 parent 5192433 commit 7a6e597
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/log_.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
#ifndef LOG__H_
#define LOG__H_

#ifndef SSL_CLIENT_TEST_ENVIRONMENT

#include <Arduino.h>

#ifndef LOG_LEVEL_NONE
Expand Down Expand Up @@ -58,4 +60,6 @@
#define log_v(...) if (LOG_LEVEL >= LOG_LEVEL_VERBOSE) { Serial.printf("V ("); Serial.printf(__VA_ARGS__); Serial.println(")"); }
#endif

#endif // SSL_CLIENT_TEST_ENVIRONMENT

#endif // LOG__H_

0 comments on commit 7a6e597

Please sign in to comment.