devanlai / dapboot

DFU Bootloader for STM32 chips
Other
339 stars 111 forks source link

Add delay before reading the button #13

Closed 0x3333 closed 5 years ago

0x3333 commented 5 years ago

In my board, I have a button with a debounce capacitor. The capacitor kind of delay the effective state of the button, so I cannot stay in the bootloader without a delay in the code that reads the button.

I'll submit a PR, will have impact zero on other areas.