PFW-1381 Optimise initialisation
Change in memory: Flash: -2 bytes SRAM: -1 byte
This commit is contained in:
parent
a35e7d543f
commit
e597be2cb5
|
|
@ -101,7 +101,7 @@ static uint8_t ReportErrorHookMonitor(uint8_t ei) {
|
||||||
uint8_t ret = 0;
|
uint8_t ret = 0;
|
||||||
bool two_choices = false;
|
bool two_choices = false;
|
||||||
static int8_t enc_dif = lcd_encoder_diff;
|
static int8_t enc_dif = lcd_encoder_diff;
|
||||||
static uint8_t reset_button_selection = 1;
|
static uint8_t reset_button_selection;
|
||||||
|
|
||||||
if (lcd_encoder_diff == 0)
|
if (lcd_encoder_diff == 0)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue