aboutsummaryrefslogtreecommitdiff
path: root/src/lib/razercommon.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/razercommon.c')
-rw-r--r--src/lib/razercommon.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/razercommon.c b/src/lib/razercommon.c
index 4c8424a..c888445 100644
--- a/src/lib/razercommon.c
+++ b/src/lib/razercommon.c
@@ -121,7 +121,8 @@ struct razer_report get_empty_razer_report(void) {
* The checksum is generated by XORing all the bytes in the report starting
* at byte number 2 (0 based) and ending at byte 88.
*/
-unsigned char razer_calculate_crc(struct razer_report *report) {
+unsigned char razer_calculate_crc(struct razer_report *report)
+{
/*second to last byte of report is a simple checksum*/
/*just xor all bytes up with overflow and you are done*/
unsigned char crc = 0;