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:
@@ -23,7 +23,7 @@ ICONS_TEMPLATE_C_HEADER = """#include \"assets_icons.h\"
|
||||
|
||||
"""
|
||||
ICONS_TEMPLATE_C_FRAME = "const uint8_t {name}[] = {data};\n"
|
||||
ICONS_TEMPLATE_C_DATA = "const uint8_t *{name}[] = {data};\n"
|
||||
ICONS_TEMPLATE_C_DATA = "const uint8_t* const {name}[] = {data};\n"
|
||||
ICONS_TEMPLATE_C_ICONS = "const Icon {name} = {{.width={width},.height={height},.frame_count={frame_count},.frame_rate={frame_rate},.frames=_{name}}};\n"
|
||||
|
||||
|
||||
|
@@ -10,7 +10,7 @@ const uint8_t _A_{{ animation.name }}_{{ frame_number }}[] = {
|
||||
};
|
||||
{% :endfor %}
|
||||
|
||||
const uint8_t *_A_{{animation.name}}[] = {
|
||||
const uint8_t * const _A_{{animation.name}}[] = {
|
||||
{% for frame_number, frame in enumerate(animation.frames): %}
|
||||
_A_{{ animation.name }}_{{ frame_number }},
|
||||
{% :endfor %}
|
||||
|
Reference in New Issue
Block a user