Decompile to STWI_send_TestModeREQ

This commit is contained in:
shinyquagsire23
2017-09-10 21:46:26 -06:00
parent dac306c5e9
commit 9218c2ce16
2 changed files with 12 additions and 31 deletions

View File

@@ -36,7 +36,7 @@ enum
RFU_UNK2E,
RFU_UNK2F,
RFU_DISCONNECT,
RFU_UNK31,
RFU_TEST_MODE,
RFU_UNK32,
RFU_UNK33,
RFU_UNK34,
@@ -534,3 +534,14 @@ void STWI_send_DisconnectREQ(u8 unk)
STWI_start_Command();
}
}
void STWI_send_TestModeREQ(u8 unk0, u8 unk1)
{
if (!STWI_init(RFU_TEST_MODE))
{
gRfuState->txParams = 1;
gRfuState->txPacket->data[0] = unk0 | (unk1 << 8);
STWI_start_Command();
}
}