https://github.com/0x1abin/MultiButton/commit/98d1643e5b919d267a2b40955a309be410bef2c6
@@ -192,6 +192,10 @@ void button_handler(struct button* handle)
handle->state = 0;
}
break;
+
+ default:
+ handle->state = 0; /* reset */
+ break;