File tree Expand file tree Collapse file tree 3 files changed +16
-3
lines changed Expand file tree Collapse file tree 3 files changed +16
-3
lines changed Original file line number Diff line number Diff line change @@ -30,5 +30,3 @@ START RESOURCE GPSTrackerCLI_reg.rss
30
30
END
31
31
SOURCEPATH ..\src
32
32
SOURCE KeyboardActive.cpp TrackWriter.cpp Logger.cpp
33
-
34
- MACRO LOGGING_ENABLED=1
Original file line number Diff line number Diff line change 14
14
#include < f32file.h>
15
15
16
16
17
- // Check that ENABLE_LOGGING is defined
17
+ /* / / Check that ENABLE_LOGGING is defined
18
18
#ifndef LOGGING_ENABLED
19
19
#warning LOGGING_ENABLED not defined!
20
20
#define LOGGING_ENABLED 0
21
+ #endif*/
22
+
23
+ // Enable logging only in Debug-builds
24
+ #ifdef _DEBUG
25
+ #define LOGGING_ENABLED 1
26
+ #else
27
+ #define LOGGING_ENABLED 0
21
28
#endif
22
29
23
30
Original file line number Diff line number Diff line change 21
21
#include " KeyboardActive.h"
22
22
#include " TrackWriter.h"
23
23
24
+
25
+ #ifdef _DEBUG
26
+ #define LOGGING_ENABLED 1
27
+ #else
28
+ #define LOGGING_ENABLED 0
29
+ #endif
30
+
31
+
24
32
// Constants
25
33
26
34
_LIT (KProgramName, " GPS Tracker CLI" );
You can’t perform that action at this time.
0 commit comments