Deleted.

Revision:
1:3fe0c7f27d97
Parent:
0:9601fa787c8b
Child:
2:27716f570c3d
diff -r 9601fa787c8b -r 3fe0c7f27d97 pelican.cpp
--- a/pelican.cpp	Tue Feb 15 20:13:34 2011 +0000
+++ b/pelican.cpp	Sun Sep 25 18:31:45 2011 +0000
@@ -24,12 +24,14 @@
 
 // Pelican class -------------------------------------------------------------
 // $(components::Pelican) ....................................................
+/// PEdestrian LIght CONtrolled (PELICAN) crossing
 class Pelican : public QActive {
 private:
     QTimeEvt m_timeout;
     uint8_t m_flashCtr;
 
 public:
+    /// constructor
     Pelican() : QActive((QStateHandler)&Pelican::initial), m_timeout(TIMEOUT_SIG) {
     }
 
@@ -63,7 +65,7 @@
     me->subscribe(PEDS_WAITING_SIG);
 
     QS_OBJ_DICTIONARY(&l_Pelican);
-    QS_OBJ_DICTIONARY(&me->m_timeout);
+    QS_OBJ_DICTIONARY(&l_Pelican.m_timeout);
 
     QS_FUN_DICTIONARY(&QHsm::top);
     QS_FUN_DICTIONARY(&Pelican::initial);
@@ -255,7 +257,7 @@
     switch (e->sig) {
         // @(/1/0/3/1/3/2)
         case Q_ENTRY_SIG: {
-            BSP_showState("pedsWalk");
+            BSP_showState("pedsFlash");
             me->m_timeout.postEvery(me, PEDS_FLASH_TOUT);
             me->m_flashCtr = PEDS_FLASH_NUM*2 + 1;
             return Q_HANDLED();
@@ -326,5 +328,4 @@
         }
     }
     return Q_SUPER(&QHsm::top);
-}
-
+}
\ No newline at end of file