projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
087a25d
)
sleep-config: add explanatory comment on "modes"
author
Mike Yuan
<me@yhndnzj.com>
Sun, 24 Sep 2023 10:28:54 +0000
(18:28 +0800)
committer
Mike Yuan
<me@yhndnzj.com>
Wed, 27 Sep 2023 13:48:40 +0000
(21:48 +0800)
src/shared/sleep-config.h
patch
|
blob
|
history
diff --git
a/src/shared/sleep-config.h
b/src/shared/sleep-config.h
index 45917d8b4f0c4162830ea87cd75b8c0835c965d6..467502a7da6586704703b5ef610b80f1bcd1b34a 100644
(file)
--- 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;