Release Candidate 0.48.0 Bug Fixes (#991)

* Power: wait a little bit till message displayed on screen when executing power off. FuriCore: do not use bkpt in release builds(causing HardFault when SPI is active).
* Cleanup BSS section: add more consty consts to be more constish.
* Desktop: properly handle autostarted applications.
This commit is contained in:
あく
2022-02-13 22:24:03 +03:00
committed by GitHub
parent 2c616983cf
commit 939998a8c8
26 changed files with 258 additions and 233 deletions

View File

@@ -4,7 +4,7 @@
#include <furi_hal_rtc.h>
#include <stdio.h>
static void __furi_print_name() {
void __furi_print_name() {
if(task_is_isr_context()) {
furi_hal_console_puts("[ISR] ");
} else {
@@ -19,14 +19,17 @@ static void __furi_print_name() {
}
}
static void __furi_halt() {
asm volatile("loop: \n"
"bkpt 0x00 \n"
"wfi \n"
"b loop \n"
:
:
: "memory");
void __furi_halt() {
asm volatile(
#ifdef FURI_DEBUG
"bkpt 0x00 \n"
#endif
"loop: \n"
"wfi \n"
"b loop \n"
:
:
: "memory");
}
void furi_crash(const char* message) {