APT_U: Release service lock on initialization.
This commit is contained in:
parent
0df9c34410
commit
8eced1b697
|
@ -34,7 +34,11 @@ void Initialize(Service::Interface* self) {
|
||||||
Kernel::SetEventLocked(cmd_buff[3], true);
|
Kernel::SetEventLocked(cmd_buff[3], true);
|
||||||
Kernel::SetEventLocked(cmd_buff[4], false); // Fire start event
|
Kernel::SetEventLocked(cmd_buff[4], false); // Fire start event
|
||||||
|
|
||||||
|
_assert_msg_(KERNEL, (0 != lock_handle), "Cannot initialize without lock");
|
||||||
|
Kernel::ReleaseMutex(lock_handle);
|
||||||
|
|
||||||
cmd_buff[1] = 0; // No error
|
cmd_buff[1] = 0; // No error
|
||||||
|
|
||||||
DEBUG_LOG(KERNEL, "called");
|
DEBUG_LOG(KERNEL, "called");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in New Issue