[DM/PIN] Reset the value of PIN_NONE

PIN_NONE is '-1', is similar to '-RT_ERROR',
'-RT_EEMPTY' is better.

Signed-off-by: GuEe-GUI <2991707448@qq.com>
This commit is contained in:
GuEe-GUI
2025-02-11 14:58:18 +08:00
committed by Rbb666
parent 578cfc0b2a
commit 5a455cb615
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -111,7 +111,7 @@ struct rt_device_pin
const struct rt_pin_ops *ops;
};
#define PIN_NONE (-1)
#define PIN_NONE (-RT_EEMPTY)
#define PIN_LOW 0x00 /*!< low level */
#define PIN_HIGH 0x01 /*!< high level */