Reduce priority timeout to be uint8_t

This commit is contained in:
mxklb 2023-01-28 16:17:48 +01:00
parent 980065fb46
commit 7231f5cfb4

View File

@ -233,10 +233,10 @@ class E131Priority {
private: private:
uint8_t priority; uint8_t priority;
time_t setupTime; time_t setupTime;
uint16_t seconds; uint8_t seconds;
public: public:
E131Priority(uint16_t timeout=3) { E131Priority(uint8_t timeout=3) {
seconds = timeout; seconds = timeout;
set(0); set(0);
}; };