renable display at hour mark

break out of cal loop
This commit is contained in:
2023-10-12 16:02:32 +02:00
parent 70f0f6e34c
commit 9be9ccf044
2 changed files with 14 additions and 3 deletions

View File

@ -1,4 +1,5 @@
#include "CL56.h"
#include <avr/interrupt.h>
DualCl56::DualCl56(ShiftReg<16>* shiftReg):
_shiftReg(shiftReg)
@ -179,7 +180,12 @@ void DualCl56::setBlank(bool blankIn)
{
_blank = blankIn;
if(_blank)
{
cli();
_shiftReg->clear();
_shiftReg->clear();
sei();
}
}
bool DualCl56::getBlank()