diff options
| author | David Olsson <david.olsson@softhouse.se> | 2017-02-11 10:50:37 +0100 |
|---|---|---|
| committer | David Olsson <david.olsson@softhouse.se> | 2017-02-11 10:50:37 +0100 |
| commit | 052f81aacaa3b5afa93f9db3667f31f9365348ce (patch) | |
| tree | dcfde5c6fed00e248535ac4d975831f33316cc8a /quantum/light_ws2812.c | |
| parent | aa69337cf563d7b37722aabfcd1c5bae6c185208 (diff) | |
| parent | 835556da9111d91b71c545d6a273e843f07631ae (diff) | |
Merge branch 'master' of https://github.com/jackhumbert/qmk_firmware
Diffstat (limited to 'quantum/light_ws2812.c')
| -rwxr-xr-x | quantum/light_ws2812.c | 6 |
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); |
