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: clock/http-clock-html.c
- Revision:
- 31:b5ca802195a7
- Parent:
- 30:6a08abbe6301
- Child:
- 42:95fe2146d486
diff -r 6a08abbe6301 -r b5ca802195a7 clock/http-clock-html.c
--- a/clock/http-clock-html.c Thu Jan 17 13:07:53 2019 +0000
+++ b/clock/http-clock-html.c Fri Jan 18 11:48:07 2019 +0000
@@ -36,9 +36,9 @@
PageAddH2("UTC");
PageAddAjaxToggle(16.0, "Enable epoch change" , "ajax-leap-enable" , "chg-clock-leap-enable" );
PageAddAjaxToggle(16.0, "Direction of next epoch" , "ajax-leap-forward" , "chg-clock-leap-forward");
- PageAddAjaxHex (12.0, "Year next epoch starts" , 5.2 , "ajax-leap-year" , "set-clock-leap-year" );
- PageAddAjaxHex (12.0, "Month next epoch starts" , 5.2 , "ajax-leap-month" , "set-clock-leap-month" );
- PageAddAjaxHex (12.0, "Current era offset" , 5.2 , "ajax-leap-count" , "set-clock-leap-count" );
+ PageAddAjaxInput (12.0, "Year next epoch starts" , 5.2 , "ajax-leap-year" , "set-clock-leap-year" );
+ PageAddAjaxInput (12.0, "Month next epoch starts" , 5.2 , "ajax-leap-month" , "set-clock-leap-month" );
+ PageAddAjaxInput (12.0, "Current era offset" , 5.2 , "ajax-leap-count" , "set-clock-leap-count" );
HttpAddText("<div><button type='button' onclick='DisplayLeap()'>Display Leap</button></div>\r\n");