Skip to content

Commit 6ff0580

Browse files
committed
Remove unused reinit() function
1 parent 20b7599 commit 6ff0580

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

src/main.c

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
#include <avr/io.h>
1111

1212
enum Buffer_Status construct_and_store_packet(struct Ring_Buffer* buffer, const char* training_chars, const uint8_t num_training_chars, const char* data, const uint8_t num_data_chars, bool null_terminate);
13-
void reinit();
1413

1514
/* Since the ADC in AVRs output 10 bits, and the center of our joystick is represented by 524,
1615
these 8 bits on their own are equivalent to 12 in decimal. To save space versus transmitting
@@ -319,12 +318,4 @@ enum Buffer_Status construct_and_store_packet(struct Ring_Buffer* buffer, const
319318
}
320319

321320
return status;
322-
}
323-
324-
/*
325-
Reinitializes application state.
326-
*/
327-
void reinit()
328-
{
329-
330-
}
321+
}

0 commit comments

Comments
 (0)