# HG changeset patch # User Jan Mulder # Date 1554575721 -7200 # Node ID ec16fd26e2800312abc0decc9d13e85b7a085e7d # Parent ad6ddc4aabcd57012ef8e7531c746cd6700a5fa4 Bugfix: do not show NDL in bigscreen mode when zero The first minute of the dive, no deco or NDL data is shown in normal mode, but when starting in bigscreen mode, the first minute, the screen shows NDL 0', which is obviously wrong. Fix this, and simply show nothing like in normal mode. Signed-off-by: Jan Mulder diff -r ad6ddc4aabcd -r ec16fd26e280 Discovery/Src/t3.c --- a/Discovery/Src/t3.c Sat Apr 06 09:41:14 2019 +0200 +++ b/Discovery/Src/t3.c Sat Apr 06 20:35:21 2019 +0200 @@ -37,7 +37,7 @@ #include "timer.h" #include "unit.h" -//* Importend function prototypes ---------------------------------------------*/ +//* Imported function prototypes ---------------------------------------------*/ extern uint8_t write_gas(char *text, uint8_t oxygen, uint8_t helium); /* Exported variables --------------------------------------------------------*/ @@ -799,7 +799,7 @@ t3_basics_colorscheme_mod(text); GFX_write_string(&FontT105,tXc1,text,1); } - else // NDL + else if(pDecoinfo->output_ndl_seconds) // NDL { snprintf(text,TEXTSIZE,"\032\f%c",TXT_Nullzeit); GFX_write_string(&FontT42,tXc1,text,0);