summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-03-05 11:06:27 +0100
committerDaniel Friesel <derf@finalrewind.org>2019-03-05 11:06:27 +0100
commit568464cfe1832867bdcd4429ea894c59a89c45f2 (patch)
treed970f11dc89c22faf959007d6bad7ce91eeca453
parentf0c087f4ab3cae2d8da65cf51bb5b0e69fe72a76 (diff)
ptalog: Do not request pin number when gpio is not used
-rw-r--r--include/object/ptalog.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/object/ptalog.h b/include/object/ptalog.h
index 8ae43d1..21aaa91 100644
--- a/include/object/ptalog.h
+++ b/include/object/ptalog.h
@@ -30,7 +30,7 @@ class PTALog {
#ifdef PTALOG_GPIO
PTALog(uint8_t pin_number) : log_index(0), sync_pin(pin_number) {}
#else
- PTALog(uint8_t pin_number) : log_index(0) {}
+ PTALog() : log_index(0) {}
#endif
inline void passTransition(uint8_t transition_id)