Add screenshot taking as debug arg

This commit is contained in:
suchmememanyskill committed 2021-01-09 17:12:45 +01:00
1 parent 981e5435ea
commit 5485f5ca06
3 files changed
+90 -1

No files matched your search

+21 -1
View File
@@ -1,4 +1,24 @@
#pragma once
#include <utils/types.h>
typedef struct _bmp_t
{
u16 magic;
u32 size;
u32 rsvd;
u32 data_off;
u32 hdr_size;
u32 width;
u32 height;
u16 planes;
u16 pxl_bits;
u32 comp;
u32 img_size;
u32 res_h;
u32 res_v;
u64 rsvd2;
} __attribute__((packed)) bmp_t;
void DumpSysFw();
void FormatSD();
void FormatSD();
void TakeScreenshot();