annotate src/cs/system/Main/main.c @ 328:daddb933047d

L1 sleep logic change: allow big sleep when light is on or we are charging
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 14 Dec 2017 02:45:22 +0000
parents 134c5fe13e44
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
98
134c5fe13e44 src/cs/system/Main: recompilable C sources added from leo2moko-debug
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 /* trivial reconstruction from disassembly */
134c5fe13e44 src/cs/system/Main: recompilable C sources added from leo2moko-debug
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2
134c5fe13e44 src/cs/system/Main: recompilable C sources added from leo2moko-debug
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 Application_Initialize()
134c5fe13e44 src/cs/system/Main: recompilable C sources added from leo2moko-debug
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4 {
134c5fe13e44 src/cs/system/Main: recompilable C sources added from leo2moko-debug
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5 Init_Target();
134c5fe13e44 src/cs/system/Main: recompilable C sources added from leo2moko-debug
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6 Init_Drivers();
134c5fe13e44 src/cs/system/Main: recompilable C sources added from leo2moko-debug
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7 Cust_Init_Layer1();
134c5fe13e44 src/cs/system/Main: recompilable C sources added from leo2moko-debug
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8 Init_Serial_Flows();
134c5fe13e44 src/cs/system/Main: recompilable C sources added from leo2moko-debug
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 StartFrame();
134c5fe13e44 src/cs/system/Main: recompilable C sources added from leo2moko-debug
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10 Init_Unmask_IT();
134c5fe13e44 src/cs/system/Main: recompilable C sources added from leo2moko-debug
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11 }