From e7558bd94fec589d7f39cb2d778426b94e8fab59 Mon Sep 17 00:00:00 2001 From: isidromv <162334577+isidromv@users.noreply.github.com> Date: Mon, 1 Apr 2024 23:49:48 +0200 Subject: [PATCH] Adding UNDEFINED pin status --- api/Common.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/api/Common.h b/api/Common.h index 44fe95e8..edfe9eb5 100644 --- a/api/Common.h +++ b/api/Common.h @@ -9,11 +9,12 @@ extern "C"{ void yield(void); typedef enum { - LOW = 0, - HIGH = 1, - CHANGE = 2, - FALLING = 3, - RISING = 4, + LOW = 0, + HIGH = 1, + CHANGE = 2, + FALLING = 3, + RISING = 4, + UNDEFINED = 5, } PinStatus; typedef enum {