- use fancy short pulse heartbeat led flashing
- bootloader now checks BSEL git-svn-id: http://moon:8086/svn/projects/HendiControl@153 fda53097-d464-4ada-af97-ba876c37ca34
This commit is contained in:
@@ -206,8 +206,15 @@ int main(void)
|
||||
{
|
||||
case TIMER_GENERAL:
|
||||
{
|
||||
timer_start(timer_id, TIMER_SW_DELAY_MS(500));
|
||||
hb_state = !hb_state;
|
||||
if (hb_state)
|
||||
{
|
||||
timer_start(timer_id, TIMER_SW_DELAY_MS(50));
|
||||
}
|
||||
else
|
||||
{
|
||||
timer_start(timer_id, TIMER_SW_DELAY_MS(950));
|
||||
}
|
||||
portSet(Led_HB, hb_state);
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user