From c58e2118b5f3d337198bc96b2c692fc945270493 Mon Sep 17 00:00:00 2001 From: daniel steuer Date: Mon, 17 Mar 2014 01:15:28 +0100 Subject: [PATCH] merge from master: rename "ledcontroller" to "led" --- ledcontroller.c | 10 +++++----- ledcontroller.h | 10 +++++----- main.c | 32 +++++++++++--------------------- rgbyteclock.c | 8 ++------ 4 files changed, 23 insertions(+), 37 deletions(-) diff --git a/ledcontroller.c b/ledcontroller.c index 72324f2..872fc1d 100644 --- a/ledcontroller.c +++ b/ledcontroller.c @@ -159,7 +159,7 @@ static void write_no_command(uint16_t data) } -void ledcontroller_turn_all_on(void) +void led_turn_all_on(void) { write_data(0xffff, 2); @@ -171,7 +171,7 @@ void ledcontroller_turn_all_on(void) } -void ledcontroller_turn_all_off(void) +void led_turn_all_off(void) { write_data(0x0000, 2); @@ -183,7 +183,7 @@ void ledcontroller_turn_all_off(void) } -void ledcontroller_init(void) +void led_init(void) { PORTC &= ~(1< -int main(void) -{ - - timer_init(); - //rtc_init(0); - //spi_slave_init(); - ledcontroller_init(); - sei(); - //lcd_init(); +int main(void) { + timer_init(); + //rtc_init(0); + //spi_slave_init(); + led_init(); + sei(); + //lcd_init(); - DDRC |= (1<