/* the main function -------------------------------------------------------*/ int main(void) { QF_init(Q_DIM(QF_active)); /* initialize the QF-nano framework */ BSP_init(); /* initialize the Board Support Package */ Blinky_ctor(); /* in C you must explicitly call the Blinky constructor */ return QF_run(); /* transfer control to QF-nano */ }
/*..........................................................................*/ int main() { Blinky_ctor(); /* instantiate the Blinky AO */ BSP_init(); /* initialize the board */ return QF_run(); /* transfer control to QF-nano */ }