From 127d331ed10be5fb2cbd407e90837aa730adb4ab Mon Sep 17 00:00:00 2001 From: Erik Andresen Date: Sat, 30 Dec 2023 09:26:54 +0100 Subject: [PATCH] added hrm sport mode setting --- apps/sportmode/app.png | Bin 0 -> 2951 bytes apps/sportmode/boot.js | 7 +++++ apps/sportmode/metadata.json | 16 +++++++++++ apps/sportmode/settings.js | 54 +++++++++++++++++++++++++++++++++++ 4 files changed, 77 insertions(+) create mode 100644 apps/sportmode/app.png create mode 100644 apps/sportmode/boot.js create mode 100644 apps/sportmode/metadata.json create mode 100644 apps/sportmode/settings.js diff --git a/apps/sportmode/app.png b/apps/sportmode/app.png new file mode 100644 index 0000000000000000000000000000000000000000..bebdbc0edcb2206946d864f62ad964e2fc334aeb GIT binary patch literal 2951 zcmV;23wZR2P)2B92hW;JQ5LiLD_MRq%udW0RZ6z* z1gv+~Y+eWo#V>zo>^@%_jn7y*&Fbz>GZ+{K3O8?un9P+Uf{)3_gYunw0PAA0beh_* z{e1zL(@^qURK2_`p>^~5!-JGP*SPlzexIw5|M5^=VZ%e1st>KAx^o` zMFM+hxNTKc)r5rQ1-&>dY7QQ`F9LgOkFwzvpR=Z~u%_k_?^jF0Tp1t2SMDx3SoR0G15hPSy)p zHe5Ik%Q|YVy4$U;sF*k}J=e-jy6eE9QNiu0JqnSs9N6{gA+HF`OIvO&F0OvuD+0BH zhy}U%(n*L{mEY!x$}0+}v+JRD5ZT@B)|6G{x>uGR`wrd)%Gl8X`5UV|Dp3B$D)#$u zT^xd*dRv!yMPP+-@3)&Soq#$!4M(h6NY_^1=8gGH>madh^F?>NB}E%(_X*3k?F5yw z1@u}ibeW8xYE$EQ9Lh{a3C+{hvpFJ<+xep_oRFnS$i z$;({*aZ6YCc|~B3qHuDgqNoppOl+%Q!=>W#7sCnkMx88v!GpMLnT?It4_AOztMv$n z6Ag`Hf}ib_6ZMTAb_SY;1xr@3eNm~)ZC(*zNz@mGawIlh{G8nfaM*C*BNc0j;Wi7i zR@vWNv;-7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LMW4EDKn+H<`UP$!u?IXW4q2<$>mSo=$#*COm6(HH~t1n{?p;(Od#|hASH%e$ySoy?yTz@@XzB0gi@S4F_)m< zVNW=B;wU@@qeZzcPjI@3G}9E7WJ?P#=EgRKzXVEwZ->JF*$LxJg2;D223**)iA_x0 zMaR3Ku4E5+ z-xD!n4*<>N&(MSGUM;y z7bIpy9Gk+PP-jRYyZnUV3;q55C)}quLL+V_1a{h`BJaUVMfPjauQF87q?jiDq$kIk zqj~zTC(a4@R|f{~Kl5!CeE9n^m>MjGsX<~O<|hmY=e&2oKSaX2XCf?_#o|8RCI?@|Al(5EB?n&{NDS2U#{D}R78C46$J_Qwu=uqp!mxf~ej-aCAR?OehW{IL zoP?y{ClvQh2?`V47m3?Qr3608{&titx$pn;P79p*+mLtT>%!lY4owT0#S$Q5oP^$T z5b_HOtMmD>H-CTs34X$`c>?iUMht$|2Wc?%^_dO=Lb2ZGr_v-6$-^OYKUf*?_5!_M xkk~#&D5j back(), + /*LANG*/'Sport mode': { + value: settings.mode, + min: -1, max: 25, + format: v => v === -1 ? /*LANG*/"Auto" : SPORT_MODES[v], + onchange: v => { + settings.mode = v; + writeSettings(); + } + }, + }); +})