From 7852372b15f850a46a02d1aa991215619096ad50 Mon Sep 17 00:00:00 2001 From: Alex Evans <715855+mmalex@users.noreply.github.com> Date: Wed, 6 Nov 2024 17:47:11 +0000 Subject: add oled feedback for flashing process --- bootloader/Core/Src/main.c | 3 ++- bootloader/plinkybl debug.launch | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'bootloader') diff --git a/bootloader/Core/Src/main.c b/bootloader/Core/Src/main.c index 2f45dc4..a16aade 100755 --- a/bootloader/Core/Src/main.c +++ b/bootloader/Core/Src/main.c @@ -341,8 +341,9 @@ int main(void) /* USER CODE BEGIN 3 */ if (encstate==1) startreset=true; - if (encstate==0x80 && startreset) { + if (encstate==0x0 && startreset) { // released the encoder + HAL_Delay(100); scb_reset_system(); } if (encheld>10000) diff --git a/bootloader/plinkybl debug.launch b/bootloader/plinkybl debug.launch index 6908cb2..1c6fef8 100755 --- a/bootloader/plinkybl debug.launch +++ b/bootloader/plinkybl debug.launch @@ -5,7 +5,7 @@ - + @@ -73,7 +73,7 @@ - + -- cgit v1.2.3