annotate src/cs/system/main/main.c @ 700:800bf29abf31

audio mode load change from Tourmaline Our FreeCalypso universe now has two kinds of audio mode config files: the old 164 byte kind and the new 176 byte kind. We are not enabling L1_NEW_AEC in Magnetite, only in Tourmaline, thus 164 byte audio mode files are still native to Magnetite. But we still desire graceful handling of the situation when a running Magnetite fw may load a 176 byte audio mode file (presumably with new AEC config), thus we incorporate the same audio mode loading change which we implemented in Tourmaline: if the loaded audio mode file is of the wrong kind, the AEC config is cleared to default disabled state.
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 30 Jul 2021 03:55:52 +0000
parents 838eeafb0051
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 }