Skip to content

Commit

Permalink
Set GEIGERTESTMODE
Browse files Browse the repository at this point in the history
  • Loading branch information
steadramon committed Mar 6, 2024
1 parent c912e57 commit 7da3bb2
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ESPGeiger/src/GeigerInput/Type/Test.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@
#define GEIGER_MODEL "test"
#endif

#ifndef GEIGERTESTMODE
#define GEIGERTESTMODE
#endif

#ifdef ESP32
static hw_timer_t * hwtimer = NULL;
#endif
Expand Down
4 changes: 4 additions & 0 deletions ESPGeiger/src/GeigerInput/Type/TestPulse.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ static bool _pulse_send = false;
#define GEIGER_TESTPULSE_ADJUSTTIME 90000
#endif

#ifndef GEIGERTESTMODE
#define GEIGERTESTMODE
#endif

class GeigerTestPulse : public GeigerInput
{
public:
Expand Down
4 changes: 4 additions & 0 deletions ESPGeiger/src/GeigerInput/Type/TestSerial.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ GC10 60\n
#define GEIGER_SERIAL_TYPE GEIGER_SERIAL_CPM
#endif

#ifndef GEIGERTESTMODE
#define GEIGERTESTMODE
#endif

#include "../GeigerInput.h"

class GeigerTestSerial : public GeigerInput
Expand Down

0 comments on commit 7da3bb2

Please sign in to comment.