summaryrefslogtreecommitdiffstats
path: root/quantum/light_ws2812.c
diff options
context:
space:
mode:
authormilestogo <milestogo@users.noreply.github.com>2017-02-10 08:28:39 +0100
committermilestogo <milestogo@users.noreply.github.com>2017-02-10 08:28:39 +0100
commitb0537f75df73ca5a55355c7546d45577cb2c6a38 (patch)
tree0da100dc4fcbe21629a10879b53e13d02c25c170 /quantum/light_ws2812.c
parent5ac0e6e6aee64c9b8fade79aaf22bc839e2c6b47 (diff)
parent41c93575a838e9b201ca113165085f47198e109d (diff)
downloadqmk_firmware-b0537f75df73ca5a55355c7546d45577cb2c6a38.tar.gz
qmk_firmware-b0537f75df73ca5a55355c7546d45577cb2c6a38.tar.xz
Merge branch 'master' into sculpt2
Diffstat (limited to 'quantum/light_ws2812.c')
-rwxr-xr-xquantum/light_ws2812.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/quantum/light_ws2812.c b/quantum/light_ws2812.c
index a883b1388..55bdd9cd8 100755
--- a/quantum/light_ws2812.c
+++ b/quantum/light_ws2812.c
@@ -70,7 +70,7 @@ void I2C_WriteBit(unsigned char c)
// Inits bitbanging port, must be called before using the functions below
//
-void I2C_Init()
+void I2C_Init(void)
{
I2C_PORT &= ~ ((1 << I2C_DAT) | (1 << I2C_CLK));
@@ -82,7 +82,7 @@ void I2C_Init()
// Send a START Condition
//
-void I2C_Start()
+void I2C_Start(void)
{
// set both to high at the same time
I2C_DDR &= ~ ((1 << I2C_DAT) | (1 << I2C_CLK));
@@ -97,7 +97,7 @@ void I2C_Start()
// Send a STOP Condition
//
-void I2C_Stop()
+void I2C_Stop(void)
{
I2C_CLOCK_HI();
_delay_us(I2C_DELAY);