diff options
author | Daniel Friesel <derf@finalrewind.org> | 2019-03-05 11:06:27 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2019-03-05 11:06:27 +0100 |
commit | 568464cfe1832867bdcd4429ea894c59a89c45f2 (patch) | |
tree | d970f11dc89c22faf959007d6bad7ce91eeca453 | |
parent | f0c087f4ab3cae2d8da65cf51bb5b0e69fe72a76 (diff) |
ptalog: Do not request pin number when gpio is not used
-rw-r--r-- | include/object/ptalog.h | 2 |
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) |