aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorskullY <skullydazed@gmail.com>2019-01-27 17:07:07 -0800
committerskullydazed <skullydazed@users.noreply.github.com>2019-02-10 15:37:12 -0800
commit1a680c1d6a426dfcd43af90c1083da15b0217086 (patch)
tree3b0c95460c9afec9a0852d2364dde6518c819176
parent84879f28a3e9e61053f7db37724b23bb32fbb0b4 (diff)
downloadqmk_firmware-1a680c1d6a426dfcd43af90c1083da15b0217086.tar.gz
qmk_firmware-1a680c1d6a426dfcd43af90c1083da15b0217086.zip
cleanup
-rw-r--r--drivers/arm/i2c_master.c1
-rw-r--r--drivers/issi/is31fl3731-simple.c1
-rw-r--r--drivers/issi/is31fl3731-simple.h1
-rw-r--r--quantum/led_matrix.h4
4 files changed, 4 insertions, 3 deletions
diff --git a/drivers/arm/i2c_master.c b/drivers/arm/i2c_master.c
index 1c3da2a1a..50a30ebce 100644
--- a/drivers/arm/i2c_master.c
+++ b/drivers/arm/i2c_master.c
@@ -67,7 +67,6 @@ uint8_t i2c_start(uint8_t address)
67 67
68uint8_t i2c_transmit(uint8_t address, uint8_t* data, uint16_t length, uint16_t timeout) 68uint8_t i2c_transmit(uint8_t address, uint8_t* data, uint16_t length, uint16_t timeout)
69{ 69{
70 // FIXME: Next steps: Add a print here, copy this file to your rgb_matrix firmware. Compare both.
71 i2c_address = address; 70 i2c_address = address;
72 i2cStart(&I2C_DRIVER, &i2cconfig); 71 i2cStart(&I2C_DRIVER, &i2cconfig);
73 return i2cMasterTransmitTimeout(&I2C_DRIVER, (i2c_address >> 1), data, length, 0, 0, MS2ST(timeout)); 72 return i2cMasterTransmitTimeout(&I2C_DRIVER, (i2c_address >> 1), data, length, 0, 0, MS2ST(timeout));
diff --git a/drivers/issi/is31fl3731-simple.c b/drivers/issi/is31fl3731-simple.c
index ff6620b72..a7faa9c38 100644
--- a/drivers/issi/is31fl3731-simple.c
+++ b/drivers/issi/is31fl3731-simple.c
@@ -1,5 +1,6 @@
1/* Copyright 2017 Jason Williams 1/* Copyright 2017 Jason Williams
2 * Copyright 2018 Jack Humbert 2 * Copyright 2018 Jack Humbert
3 * Copyright 2019 Clueboard
3 * 4 *
4 * This program is free software: you can redistribute it and/or modify 5 * This program is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by 6 * it under the terms of the GNU General Public License as published by
diff --git a/drivers/issi/is31fl3731-simple.h b/drivers/issi/is31fl3731-simple.h
index 3b107d48f..dbe498281 100644
--- a/drivers/issi/is31fl3731-simple.h
+++ b/drivers/issi/is31fl3731-simple.h
@@ -1,5 +1,6 @@
1/* Copyright 2017 Jason Williams 1/* Copyright 2017 Jason Williams
2 * Copyright 2018 Jack Humbert 2 * Copyright 2018 Jack Humbert
3 * Copyright 2019 Clueboard
3 * 4 *
4 * This program is free software: you can redistribute it and/or modify 5 * This program is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by 6 * it under the terms of the GNU General Public License as published by
diff --git a/quantum/led_matrix.h b/quantum/led_matrix.h
index 9bf20d044..618c5d676 100644
--- a/quantum/led_matrix.h
+++ b/quantum/led_matrix.h
@@ -63,8 +63,8 @@ typedef union {
63} led_config_t; 63} led_config_t;
64 64
65enum led_matrix_effects { 65enum led_matrix_effects {
66 LED_MATRIX_UNIFORM_BRIGHTNESS = 1, 66 LED_MATRIX_UNIFORM_BRIGHTNESS = 1,
67 // All new effects go above this line 67 // All new effects go above this line
68 LED_MATRIX_EFFECT_MAX 68 LED_MATRIX_EFFECT_MAX
69}; 69};
70 70