Revision 98e7c69b devices/PowerManagement/userthread.cpp
devices/PowerManagement/userthread.cpp | ||
---|---|---|
185 | 185 |
break; |
186 | 186 |
} |
187 | 187 |
} |
188 |
// current_state = next_state; |
|
189 |
current_state = IDLE; |
|
190 |
next_state = IDLE; |
|
188 |
current_state = next_state; |
|
191 | 189 |
} |
192 | 190 |
|
193 | 191 |
// sleep here so the loop is executed as quickly as possible |
Also available in: Unified diff