Skip to content
Snippets Groups Projects
Commit 151780c4 authored by ks6n19's avatar ks6n19
Browse files

Update main.c with out regs incrementing as 0, 2, 4, 6

parent 55f40cfd
No related branches found
No related tags found
No related merge requests found
......@@ -33,17 +33,17 @@ void write_out_0(uint32_t value_0) {
}
void write_out_1(uint32_t value_1) {
OUT_REGS[1] = value_1;
OUT_REGS[2] = value_1;
}
void write_out_2(uint32_t value_2) {
OUT_REGS[2] = value_2;
OUT_REGS[4] = value_2;
}
void write_out_3(uint32_t value_3) {
OUT_REGS[3] = value_3;
OUT_REGS[6] = value_3;
}
void set_out_invalid(void) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment