From f1812174d8d3d2feae7639d2c00273c2bb705e48 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Tue, 8 Apr 2025 21:58:54 +0200 Subject: fix declare struct Vote outside class Mussel --- Mussel/Mussel.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'Mussel/Mussel.h') diff --git a/Mussel/Mussel.h b/Mussel/Mussel.h index a098e52..bdc2be8 100644 --- a/Mussel/Mussel.h +++ b/Mussel/Mussel.h @@ -27,6 +27,12 @@ // Limited size NOW!! can be transformed into infinite array #define STACK_SIZE 1000 +struct Vote { + String id; + unsigned long timestamp; + int measure; +}; + class Mussel { public: @@ -42,12 +48,6 @@ class Mussel { const uint8_t pin, const uint8_t type); - struct Vote { - String id; - unsigned long timestamp; - int measure; - }; - void begin(); String desc(); byte read(); -- cgit v1.2.3