mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-18 05:28:40 +00:00
style(core): fix bootloader formatting
This commit is contained in:
parent
29a3e91f09
commit
7c1d72c254
@ -19,7 +19,6 @@
|
|||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
|
||||||
#include "bootui.h"
|
#include "bootui.h"
|
||||||
#include "display.h"
|
#include "display.h"
|
||||||
#include "icon_cancel.h"
|
#include "icon_cancel.h"
|
||||||
@ -36,7 +35,6 @@
|
|||||||
#include "touch.h"
|
#include "touch.h"
|
||||||
#include "version.h"
|
#include "version.h"
|
||||||
|
|
||||||
|
|
||||||
#define BACKLIGHT_NORMAL 150
|
#define BACKLIGHT_NORMAL 150
|
||||||
|
|
||||||
#define COLOR_BL_FAIL RGB16(0xFF, 0x00, 0x00) // red
|
#define COLOR_BL_FAIL RGB16(0xFF, 0x00, 0x00) // red
|
||||||
|
@ -312,7 +312,6 @@ int main(void) {
|
|||||||
// ... or if user touched the screen on start
|
// ... or if user touched the screen on start
|
||||||
// ... or we have stay_in_bootloader flag to force it
|
// ... or we have stay_in_bootloader flag to force it
|
||||||
if (touched || stay_in_bootloader == sectrue) {
|
if (touched || stay_in_bootloader == sectrue) {
|
||||||
|
|
||||||
// no ui_fadeout(); - we already start from black screen
|
// no ui_fadeout(); - we already start from black screen
|
||||||
ui_screen_info(secfalse, &vhdr, &hdr);
|
ui_screen_info(secfalse, &vhdr, &hdr);
|
||||||
ui_fadein();
|
ui_fadein();
|
||||||
|
@ -94,7 +94,7 @@ void PIXELDATA(uint16_t c) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void display_init_seq(void) { }
|
void display_init_seq(void) {}
|
||||||
|
|
||||||
void display_init(void) {
|
void display_init(void) {
|
||||||
if (SDL_Init(SDL_INIT_VIDEO) != 0) {
|
if (SDL_Init(SDL_INIT_VIDEO) != 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user