1
0
Fork 0
forked from len0rd/rockbox

Add DeviceData to bootloaders

same vein as bootdata but for devices that need to pass info back to a
running firmware

Change-Id: I0cdcdc0475804dfbbee415ab487104ae8fc8ac69
This commit is contained in:
William Wilgus 2024-08-25 11:37:30 -04:00 committed by William Wilgus
parent c16dbbfd1f
commit a2cc7546d8
11 changed files with 274 additions and 1 deletions

View file

@ -35,6 +35,12 @@
static bool storage_spinning = false;
#if defined(HAVE_DEVICEDATA)
#include "devicedata.h"
struct device_data_t device_data =
{.length = DEVICE_DATA_PAYLOAD_SIZE};
#endif /* def HAVE_DEVICEDATA */
int fat_startsector(void)
{
return 63;