Commit 73e008b
Revert "fwk: Fix ignoring powerbutton if lid closed from G3"
It's buggy:
```
/mnt/host/source/src/platform/ec/zephyr/program/framework/src/power_button_x86.c: In function 'set_initial_pwrbtn_state':
/mnt/host/source/src/platform/ec/zephyr/program/framework/src/power_button_x86.c:257:17: error: this 'if' clause does not guard... [-Werror=misleading-indentation]
257 | if (!lid_is_open())
| ^~
/mnt/host/source/src/platform/ec/zephyr/program/framework/src/power_button_x86.c:259:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
259 | return;
| ^~~~~~
```
This reverts commit 637d4d5.
Signed-off-by: Daniel Schaefer <dhs@frame.work>
(cherry picked from commit 7853b66)1 parent 14d61d9 commit 73e008b
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
213 | | - | |
| 213 | + | |
214 | 214 | | |
215 | 215 | | |
216 | 216 | | |
| |||
241 | 241 | | |
242 | 242 | | |
243 | 243 | | |
244 | | - | |
| 244 | + | |
245 | 245 | | |
246 | 246 | | |
247 | 247 | | |
| |||
0 commit comments