mirror of
https://github.com/google/pebble.git
synced 2025-05-01 07:41:41 -04:00
spelling: privileged
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
d4d8ed5147
commit
e35b142f68
1 changed files with 1 additions and 1 deletions
|
@ -101,7 +101,7 @@ static bool prv_force_stop_task_if_unprivileged(ProcessContext *context) {
|
||||||
|
|
||||||
uint32_t control_reg = ulTaskDebugGetStackedControl((TaskHandle_t) context->task_handle);
|
uint32_t control_reg = ulTaskDebugGetStackedControl((TaskHandle_t) context->task_handle);
|
||||||
if ((control_reg & 0x1) == 0) {
|
if ((control_reg & 0x1) == 0) {
|
||||||
// We're priviledged, it's not safe to just kill the app task.
|
// We're privileged, it's not safe to just kill the app task.
|
||||||
vTaskResume((TaskHandle_t) context->task_handle);
|
vTaskResume((TaskHandle_t) context->task_handle);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue