1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-19 04:52:12 +01:00

REVONANO - Fix eeprom configuration

This commit is contained in:
Alessio Morale 2014-11-17 21:40:51 +01:00
parent 5c13551a1a
commit 8a02caa33a

View File

@ -1313,14 +1313,13 @@ void PIOS_WS2811_irq_handler(void)
} }
#endif // PIOS_INCLUDE_WS2811 #endif // PIOS_INCLUDE_WS2811
#ifdef PIOS_INCLUDE_FLASH_OBJLIST #ifdef PIOS_INCLUDE_FLASH_OBJLIST
#include <pios_flashfs_objlist.h> #include <pios_flashfs_objlist.h>
struct flashfs_cfg flash_main_fs_cfg = { struct flashfs_cfg flash_main_fs_cfg = {
.table_magic = 0x01020304, .table_magic = 0x01020304,
.obj_magic = 0x19293949, .obj_magic = 0x19293949,
.obj_table_start = 0, .obj_table_start = 0x00000010,
.obj_table_end = 0xC000, // spaces for 192 UAVOs .obj_table_end = 0x1000,
.sector_size = 0xFF, .sector_size = 0xFF,
.chip_size = 0x10000 .chip_size = 0x10000
}; };