|
@@ -377,6 +377,7 @@ static void HSV2LED(const uint8_t hue, const uint8_t val) {
|
|
|
* Show info on tubes.
|
|
|
*/
|
|
|
void showTime(void) {
|
|
|
+ static tube4_t old_buf;
|
|
|
uint8_t hue;
|
|
|
MinusFadeIn();
|
|
|
RTOS_SetTask(MinusFadeOut, 500, 0);
|
|
@@ -402,7 +403,8 @@ void showTime(void) {
|
|
|
buf.s8.tD = Clock.Min >> 4;
|
|
|
buf.s8.tE = Clock.Min & 0xf;
|
|
|
if (Clock.Min == 0) {
|
|
|
- slideDigits(buf);
|
|
|
+ lShiftDigits(old_buf, buf);
|
|
|
+ old_buf = buf;
|
|
|
} else {
|
|
|
showDigits(buf);
|
|
|
}
|