Switch from GPLv2 to GPLv2+
[fw/altos] / src / stm / ao_flash_loader_stm.c
index 2ab548cfa452a4fdfc2706e6b08125d61d3f8c04..a8d1701b318dbead80640f393daeed3cc3f024cb 100644 (file)
@@ -3,7 +3,8 @@
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; version 2 of the License.
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
  *
  * This program is distributed in the hope that it will be useful, but
  * WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -27,6 +28,13 @@ main(void)
 
        ao_usb_init();
 
+#if HAS_TICK
+       ao_timer_init();
+#endif
+
+#ifdef AO_FLASH_LOADER_INIT
+       AO_FLASH_LOADER_INIT;
+#endif 
        ao_flash_task();
        return 0;
 }