summaryrefslogtreecommitdiffstats
path: root/quantum/light_ws2812.c
diff options
context:
space:
mode:
authorOle Anders <git@swoy.org>2017-03-07 19:39:00 +0100
committerOle Anders <git@swoy.org>2017-03-07 19:39:00 +0100
commit25a7c941746d077d246468bec6bebdb01e478090 (patch)
tree906b491bb1465be287ec4dc02e9857437f7582a6 /quantum/light_ws2812.c
parentd1fb51976aeef8eeea5975c5bf75b6b1aa649826 (diff)
parentf5c8c5d4c854c5ae4dc586066c9b03557786c4c2 (diff)
Merge remote-tracking branch 'refs/remotes/qmk/master'
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 a883b13884..55bdd9cd81 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);