summaryrefslogtreecommitdiff
path: root/src/librfu_stwi.c
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2021-09-23 21:49:49 -0400
committerGitHub <noreply@github.com>2021-09-23 21:49:49 -0400
commit9d0f9042febd46d506110778a3beeec90c8c9c1e (patch)
treec3bf2f4b0b3183de111bfcc89fac3316f562c937 /src/librfu_stwi.c
parent0c2e9a5b4c1c0c0f2a62be6165e826760dd572cb (diff)
parenta6ab2eb883b4cef727a6caee993745cfeff1274b (diff)
Merge pull request #1498 from LOuroboros/trailingSpaces
Removed trailing spaces in the most relevant files
Diffstat (limited to 'src/librfu_stwi.c')
-rw-r--r--src/librfu_stwi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/librfu_stwi.c b/src/librfu_stwi.c
index 0287b358a..8d8d10c40 100644
--- a/src/librfu_stwi.c
+++ b/src/librfu_stwi.c
@@ -40,7 +40,7 @@ void STWI_init_all(struct RfuIntrStruct *interruptStruct, IntrFunc *interrupt, b
gSTWIStatus->error = 0;
gSTWIStatus->recoveryCount = 0;
gSTWIStatus->sending = 0;
- REG_RCNT = 0x100; // TODO: mystery bit?
+ REG_RCNT = 0x100; // TODO: mystery bit?
REG_SIOCNT = SIO_INTR_ENABLE | SIO_32BIT_MODE | SIO_115200_BPS;
STWI_init_Callback_M();
STWI_init_Callback_S();
@@ -118,7 +118,7 @@ void STWI_init_Callback_S(void)
STWI_set_Callback_S(NULL);
}
-// The callback can take 2 or 3 arguments.
+// The callback can take 2 or 3 arguments.
void STWI_set_Callback_M(void *callbackM)
{
gSTWIStatus->callbackM = callbackM;
@@ -594,7 +594,7 @@ static s32 STWI_start_Command(void)
{
u16 imeTemp;
- // equivalent to gSTWIStatus->txPacket->rfuPacket32.command,
+ // equivalent to gSTWIStatus->txPacket->rfuPacket32.command,
// but the cast here is required to avoid register issue
*(u32 *)gSTWIStatus->txPacket->rfuPacket8.data = 0x99660000 | (gSTWIStatus->reqLength << 8) | gSTWIStatus->reqActiveCommand;
REG_SIODATA32 = gSTWIStatus->txPacket->rfuPacket32.command;