minox: use RAM address define instead of hardcoded value

Change-Id: I81a42637194cbf0b5152fe38c691522021ab7582
This commit is contained in:
Kevin Redon 2019-02-15 10:10:38 +01:00
parent 6794b97e21
commit 5538ea8530
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ static bool check_application(void)
* if the SP is not in this range (e.g. flash has been erased) there is no valid application
* the second entry in the vector table is the reset address, corresponding to the application start
*/
return (0x20000000 == ((*application_start_address) & 0xFFF80000));
return (HSRAM_ADDR == ((*application_start_address) & 0xFFF80000));
}
/** Start the application