Services/UDS: Fixed a style mistake in GetChannel.
This commit is contained in:
parent
f8f3b27eb3
commit
5c4bd3ef33
|
@ -320,8 +320,7 @@ static void GetChannel(Interface* self) {
|
||||||
IPC::RequestParser rp(Kernel::GetCommandBuffer(), 0x1A, 0, 0);
|
IPC::RequestParser rp(Kernel::GetCommandBuffer(), 0x1A, 0, 0);
|
||||||
IPC::RequestBuilder rb = rp.MakeBuilder(2, 0);
|
IPC::RequestBuilder rb = rp.MakeBuilder(2, 0);
|
||||||
|
|
||||||
bool is_connected = connection_status.status !=
|
bool is_connected = connection_status.status != static_cast<u32>(NetworkStatus::NotConnected);
|
||||||
static_cast<u32>(NetworkStatus::NotConnected);
|
|
||||||
|
|
||||||
u8 channel = is_connected ? network_channel : 0;
|
u8 channel = is_connected ? network_channel : 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue