diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-07-11 21:09:56 -0400 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-07-11 21:09:56 -0400 |
commit | 2c837223756de2596931c22c8f4fa2ba4a4237a9 (patch) | |
tree | 07f5ba36aa0f5883cd10fbe2cc8bbc11969f7473 /gba/source/link.c | |
parent | f31274f14656be2498b05027f668d9a55fb26f6b (diff) | |
download | gen3uploader-2c837223756de2596931c22c8f4fa2ba4a4237a9.tar.gz gen3uploader-2c837223756de2596931c22c8f4fa2ba4a4237a9.tar.bz2 gen3uploader-2c837223756de2596931c22c8f4fa2ba4a4237a9.zip |
Fixed indentation
Diffstat (limited to 'gba/source/link.c')
-rw-r--r-- | gba/source/link.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gba/source/link.c b/gba/source/link.c index c84e44d..acadf3b 100644 --- a/gba/source/link.c +++ b/gba/source/link.c | |||
@@ -12,8 +12,8 @@ | |||
12 | 12 | ||
13 | void initializeLink() | 13 | void initializeLink() |
14 | { | 14 | { |
15 | REG_HS_CTRL |= JOY_RW; | 15 | REG_HS_CTRL |= JOY_RW; |
16 | REG_JOYTR = 0; | 16 | REG_JOYTR = 0; |
17 | while ((REG_HS_CTRL & JOY_WRITE) == 0); | 17 | while ((REG_HS_CTRL & JOY_WRITE) == 0); |
18 | REG_HS_CTRL |= JOY_RW; | 18 | REG_HS_CTRL |= JOY_RW; |
19 | } | 19 | } |
@@ -22,7 +22,7 @@ void waitForAck() | |||
22 | { | 22 | { |
23 | while ((REG_HS_CTRL & JOY_WRITE) == 0); | 23 | while ((REG_HS_CTRL & JOY_WRITE) == 0); |
24 | REG_HS_CTRL |= JOY_RW; | 24 | REG_HS_CTRL |= JOY_RW; |
25 | REG_JOYTR = 0; | 25 | REG_JOYTR = 0; |
26 | while ((REG_HS_CTRL & JOY_WRITE) == 0); | 26 | while ((REG_HS_CTRL & JOY_WRITE) == 0); |
27 | REG_HS_CTRL |= JOY_RW; | 27 | REG_HS_CTRL |= JOY_RW; |
28 | } | 28 | } |