From b863bb9a7d62059802ba3e9ae9caef2cce6b66f3 Mon Sep 17 00:00:00 2001 From: Arne Wichmann Date: Wed, 25 May 2022 10:06:05 +0200 Subject: [PATCH] Fix compilation --- NSEncoder.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/NSEncoder.h b/NSEncoder.h index e729126..413ce3b 100644 --- a/NSEncoder.h +++ b/NSEncoder.h @@ -26,7 +26,7 @@ class NSEncoder: public Encoder ); //Destructor ~NSEncoder(); - bool get_Position(int &); + bool get_Position(int16_t &); int16_t get_diffPosition(); void reset(); private: @@ -95,4 +95,4 @@ class NSEncoder_btn: public NSEncoder void reset_doublePress_counter(); }; -#endif \ No newline at end of file +#endif