diff options
author | Kévin Redon <kredon@sysmocom.de> | 2019-02-15 10:10:38 +0100 |
---|---|---|
committer | Kévin Redon <kredon@sysmocom.de> | 2019-02-15 10:10:38 +0100 |
commit | 5538ea85309536224b98629b8c39aef22280cfab (patch) | |
tree | c9518c42baa10b4c491e90dee7eb84de5b31df38 | |
parent | 6794b97e21e33303c56d29a2ba6882cc82c6c4bd (diff) |
minox: use RAM address define instead of hardcoded value0.1
Change-Id: I81a42637194cbf0b5152fe38c691522021ab7582
-rw-r--r-- | usb_dfu_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usb_dfu_main.c b/usb_dfu_main.c index f431d29..19fe437 100644 --- a/usb_dfu_main.c +++ b/usb_dfu_main.c @@ -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 |