Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 848c75a

Browse files
Change defaults from integers to booleans to match the used type.
1 parent f9c5163 commit 848c75a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/ArduinoLogger.h‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,14 @@
4242

4343
#ifndef LOG_EN_DEFAULT
4444
/// Whether the logging module is enabled automatically on boot.
45-
#define LOG_EN_DEFAULT 1
45+
#define LOG_EN_DEFAULT true
4646
#endif
4747

4848
#ifndef LOG_ECHO_EN_DEFAULT
4949
/// Indicates that log statements should be echoed to the console
5050
/// If true, log statements will be echoed.
5151
/// If false, log statements will only go to the log.
52-
#define LOG_ECHO_EN_DEFAULT 0
52+
#define LOG_ECHO_EN_DEFAULT false
5353
#endif
5454

5555
#ifndef LOG_LEVEL_NAMES

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /