Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: oldheating gps motorhome heating
Diff: http-clock-script.inc
- Revision:
- 24:0ed9f1faea96
- Parent:
- 23:f340b48d0538
- Child:
- 25:467494781985
--- a/http-clock-script.inc Wed Jan 09 18:44:28 2019 +0000
+++ b/http-clock-script.inc Thu Jan 10 16:08:27 2019 +0000
@@ -43,7 +43,7 @@
" rateIsLocked = hexToBit(4, 3);\n"
" timeIsLocked = hexToBit(5, 0);\n"
" leapEnable = hexToBit(5, 1);\n"
-" leapBackward = hexToBit(5, 2);\n"
+" leapForward = hexToBit(5, 2);\n"
" leapmonths1970 = parseInt(response.substr(6, 3), 16);\n"
" leapmonth = leapmonths1970 % 12;\n"
" leapyear = (leapmonths1970 - leapmonth) / 12;\n"
@@ -61,7 +61,7 @@
" elem = document.getElementById('ajax-time-locked' ); if (elem) elem.setAttribute('dir', timeIsLocked ? 'rtl' : 'ltr');\n"
"\n"
" elem = document.getElementById('ajax-leap-enable' ); if (elem) elem.setAttribute('dir', leapEnable ? 'rtl' : 'ltr');\n"
-" elem = document.getElementById('ajax-leap-backward'); if (elem) elem.setAttribute('dir', leapBackward ? 'rtl' : 'ltr');\n"
+" elem = document.getElementById('ajax-leap-forward' ); if (elem) elem.setAttribute('dir', leapForward ? 'rtl' : 'ltr');\n"
"\n"
" elem = document.getElementById('ajax-leap-year' ); if (elem) elem.value = leapmonths1970 ? leapyear : '';\n"
" elem = document.getElementById('ajax-leap-month' ); if (elem) elem.value = leapmonths1970 ? leapmonth : '';\n"