mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-15 20:19:23 +00:00
fixup! refactor(core): decouple i2c driver and touch driver
This commit is contained in:
parent
63368b2c92
commit
a29250878f
@ -26,6 +26,7 @@
|
||||
#include "common.h"
|
||||
#include "display.h"
|
||||
#include "flash.h"
|
||||
#include "i2c.h"
|
||||
#include "mini_printf.h"
|
||||
#include "random_delays.h"
|
||||
#include "rng.h"
|
||||
@ -374,6 +375,7 @@ int main(void) {
|
||||
display_orientation(0);
|
||||
random_delays_init();
|
||||
sdcard_init();
|
||||
i2c_init();
|
||||
touch_init();
|
||||
sbu_init();
|
||||
usb_init_all();
|
||||
@ -438,3 +440,5 @@ int main(void) {
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
void HardFault_Handler(void) { error_shutdown("INTERNAL ERROR!", "(HF)"); }
|
||||
|
Loading…
Reference in New Issue
Block a user