Rename timer.c into more correct queue.c

This commit is contained in:
Stefan `Sec` Zehl 2011-07-26 01:09:31 +02:00
parent 7eba1c5240
commit 292d1ba36f
1 changed files with 8 additions and 11 deletions

View File

@ -33,21 +33,18 @@ void s_ticks(void) {
void b_one(void){ void b_one(void){
gpioSetValue (RB_LED2, 0); gpioSetValue (RB_LED2, 0);
delayms_power(100); delayms(100);
gpioSetValue (RB_LED2, 1); gpioSetValue (RB_LED2, 1);
delayms_power(1000); delayms(1000);
gpioSetValue (RB_LED2, 0); gpioSetValue (RB_LED2, 0);
}; };
void do_qone(void) { void push_q(void) {
work_queue(); push_queue(&b_one);
}; push_queue(&b_one);
push_queue(&b_one);
void do_q(void) { push_queue(&b_one);
delayms_queue(500); push_queue(&b_one);
};
void push_qone(void) {
push_queue(&b_one); push_queue(&b_one);
}; };