Renamed badly named routine tlc_wait_for_data() to tlc_send_data()
authorMalte S. Stretz <mss@apache.org>
Wed, 11 Mar 2009 13:11:44 +0000 (13:11 +0000)
committerMalte S. Stretz <mss@apache.org>
Wed, 11 Mar 2009 13:11:44 +0000 (13:11 +0000)
src/main.c
src/tlc.c
src/tlc.h

index e4b1b84..a99e2fe 100644 (file)
@@ -73,7 +73,7 @@ static inline void main_loop(void)
   while (1) {
     // FIXME
     // TODO: Don't store more data than necessary.
-    tlc_wait_for_data();
+    tlc_send_data();
   }
 }
 
index afc829a..75ee0e3 100644 (file)
--- a/src/tlc.c
+++ b/src/tlc.c
@@ -121,7 +121,7 @@ void tlc_init(void)
   pin_in( PIN_TLC_SRTN);
 }
 
-void tlc_wait_for_data()
+void tlc_send_data(void)
 {
   if (data_shifting_) return;
   send_data();
index 81d424c..9a7249f 100644 (file)
--- a/src/tlc.h
+++ b/src/tlc.h
@@ -2,4 +2,4 @@
 
 void tlc_init(void);
 
-void tlc_wait_for_data(void);
+void tlc_send_data(void);