aboutsummaryrefslogtreecommitdiff
path: root/prog/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'prog/src/main.c')
-rw-r--r--prog/src/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/prog/src/main.c b/prog/src/main.c
index a31196f..a721e14 100644
--- a/prog/src/main.c
+++ b/prog/src/main.c
@@ -6,7 +6,7 @@ volatile uint32_t *io_out = (volatile uint32_t *)0x00000004;
int main(void) {
while (1) {
- if (*io_in) *io_out = 0b00000;
- else *io_out = 0b11111;
+ if (*io_in) *io_out = 0b11111;
+ else *io_out = 0b00000;
}
}