Skip to content

Commit

Permalink
AP_Bootloader: add flash corrupt method but commented out
Browse files Browse the repository at this point in the history
  • Loading branch information
bugobliterator committed Jul 3, 2024
1 parent c28891e commit 277f94d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Tools/AP_Bootloader/support.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -541,6 +541,7 @@ void port_setbaud(uint32_t baudrate)
void check_ecc_errors(void)
{
__disable_fault_irq();
// stm32_flash_corrupt(0x8012300);
auto *dma = dmaStreamAlloc(STM32_DMA_STREAM_ID(1, 1), 0, nullptr, nullptr);
uint32_t buf[32];
uint32_t ofs = 0;
Expand Down

0 comments on commit 277f94d

Please sign in to comment.