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

Fix flashsize address, ran thru formatter

This commit is contained in:
sambas 2013-04-16 16:50:41 +03:00
parent ab8ab4bcc6
commit 78127ae817

View File

@ -220,7 +220,7 @@ int32_t PIOS_SYS_Reset(void)
*/
uint32_t PIOS_SYS_getCPUFlashSize(void)
{
return ((uint32_t) MEM16(0x1fff7a10) * 1000); // it might be possible to locate in the OTP area, but haven't looked and not documented
return ((uint32_t) MEM16(0x1fff7a22) * 1000); // it might be possible to locate in the OTP area, but haven't looked and not documented
}
/**