From 563ef8f950e37aefa62526535c7b78d70279e1e1 Mon Sep 17 00:00:00 2001 From: Mike Yuan Date: Sun, 24 Sep 2023 18:28:54 +0800 Subject: [PATCH] sleep-config: add explanatory comment on "modes" --- src/shared/sleep-config.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/shared/sleep-config.h b/src/shared/sleep-config.h index 45917d8b4f0..467502a7da6 100644 --- a/src/shared/sleep-config.h +++ b/src/shared/sleep-config.h @@ -24,8 +24,9 @@ SleepOperation sleep_operation_from_string(const char *s) _pure_; typedef struct SleepConfig { bool allow[_SLEEP_OPERATION_MAX]; - char **modes[_SLEEP_OPERATION_CONFIG_MAX]; + char **states[_SLEEP_OPERATION_CONFIG_MAX]; + char **modes[_SLEEP_OPERATION_CONFIG_MAX]; /* Power mode after writing hibernation image */ usec_t hibernate_delay_usec; usec_t suspend_estimation_usec; -- 2.47.3