further fix spi flash/ram current leakage

Currently, we pull up cs io for spi flash/ram to reduce current leakage during
light sleep. But some kind of spi flash/ram chip need all io pull up. Otherwise,
current leakage will still exist.
This commit is contained in:
jingli
2022-07-25 15:08:51 +08:00
parent 0d83001bd4
commit 236bd27134
13 changed files with 241 additions and 45 deletions

View File

@@ -26,7 +26,7 @@
extern "C" {
#endif
/// Type of hold a GPIO in low state
// Type of hold a GPIO in low state
typedef enum {
GPIO_LONG_HOLD = 1, /*!< The long hold GPIO */
GPIO_SHORT_HOLD = -1, /*!< The short hold GPIO */