Complete

fenix 5 Plus: 14.00 bad serve onEnterSleep

I have strange error on f5plus, stack

-onEnterSleep, ok

-draw, ok

- updC from draw but this function is called only when no low power (I check it) - it means from onUpdate so probably every minutes update or after BT connection 

- onBD, ok calling from updC

error Invalid Value in onBD  in line loadResource

I know, from 3.2.5 I can't use loadResource during low power but why system call onUpdate during low power then raise error when I use loadResource?

Parents Comment Children
  •                     v = integer_value_never_null;
                        i = Rez.Strings;
                        v = {
                            200=>i._200,
                            300=>i._300,
                            500=>i._500,
                            600=>i._600,
                            701=>i._701,//0
                            711=>i._711,//1
                            721=>i._721,//2
                            731=>i._731,//3
                            741=>i._741,//4
                            751=>i._751,//5
                            761=>i._761,//6
                            762=>i._762,//6
                            771=>i._771,//7
                            781=>i._781,//8
                            800=>i._800,
                            801=>i._801,
                            802=>i._802,
                            803=>i._803,
                            804=>i._804}[v];
                        gWD[W_DE_RES] = v == null ? "?": loadResource(v); //<-------------ERROR

    of course this code run well for all devices

    language hun, I don't have this language should be default (default is also for eng)