summaryrefslogtreecommitdiff
path: root/src/link_rfu_2.c
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2021-08-15 16:11:30 -0400
committerGriffinR <griffin.g.richards@gmail.com>2021-08-15 16:22:15 -0400
commitdfdcfc1568ad8d3c4efbe36f06c1b883b677abd2 (patch)
tree65d2ce4f926395c00f23deef9e766b72f2cbdb65 /src/link_rfu_2.c
parente01ae55c13f9717f6b0f781846d9ceaeeb2a250d (diff)
Document remaining functions in cable_club
Diffstat (limited to 'src/link_rfu_2.c')
-rw-r--r--src/link_rfu_2.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/link_rfu_2.c b/src/link_rfu_2.c
index b27694960..ffa78b21d 100644
--- a/src/link_rfu_2.c
+++ b/src/link_rfu_2.c
@@ -177,11 +177,11 @@ static const u8 sUnknown_082ED6A5[] = {
};
static const struct BlockRequest sBlockRequests[] = {
- { gBlockSendBuffer, 200 },
- { gBlockSendBuffer, 200 },
- { gBlockSendBuffer, 100 },
- { gBlockSendBuffer, 220 },
- { gBlockSendBuffer, 40 }
+ [BLOCK_REQ_SIZE_NONE] = { gBlockSendBuffer, 200 },
+ [BLOCK_REQ_SIZE_200] = { gBlockSendBuffer, 200 },
+ [BLOCK_REQ_SIZE_100] = { gBlockSendBuffer, 100 },
+ [BLOCK_REQ_SIZE_220] = { gBlockSendBuffer, 220 },
+ [BLOCK_REQ_SIZE_40] = { gBlockSendBuffer, 40 }
};
static const u16 sAcceptedSerialNos[] = {
@@ -1753,7 +1753,7 @@ static void sub_801084C(u8 taskId)
{
if (AreNoPlayersReceiving())
{
- Rfu.blockRequestType = 0;
+ Rfu.blockRequestType = BLOCK_REQ_SIZE_NONE;
RfuPrepareSendBuffer(RFUCMD_SEND_BLOCK_REQ);
gTasks[taskId].data[0]++;
}