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.
Dependencies: 1-wire clock crypto fram log lpc1768 net web wiz mbed
web-this/web-nav-this.c@0:22b158d3c76f, 2021-05-10 (annotated)
- Committer:
- andrewboyson
- Date:
- Mon May 10 10:23:48 2021 +0000
- Revision:
- 0:22b158d3c76f
New version as old one would not commit
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| andrewboyson | 0:22b158d3c76f | 1 | #include "web-add.h" |
| andrewboyson | 0:22b158d3c76f | 2 | #include "web-nav-this.h" |
| andrewboyson | 0:22b158d3c76f | 3 | |
| andrewboyson | 0:22b158d3c76f | 4 | void WebNavThis(int page) |
| andrewboyson | 0:22b158d3c76f | 5 | { |
| andrewboyson | 0:22b158d3c76f | 6 | WebAddNavItem(page == HOME_PAGE, "/", "Home" ); |
| andrewboyson | 0:22b158d3c76f | 7 | WebAddNavItem(page == PROGRAM_PAGE, "/program", "Program" ); |
| andrewboyson | 0:22b158d3c76f | 8 | WebAddNavItem(page == RADIATOR_PAGE, "/radiator", "Radiator"); |
| andrewboyson | 0:22b158d3c76f | 9 | WebAddNavItem(page == BOILER_PAGE, "/boiler", "Boiler" ); |
| andrewboyson | 0:22b158d3c76f | 10 | WebAddNavItem(page == SYSTEM_PAGE, "/system", "System" ); |
| andrewboyson | 0:22b158d3c76f | 11 | WebAddNavItem(page == ONE_WIRE_PAGE, "/1wire", "1-Wire" ); |
| andrewboyson | 0:22b158d3c76f | 12 | WebAddNavItem(page == WIZ_PAGE, "/wiz", "Wiz" ); |
| andrewboyson | 0:22b158d3c76f | 13 | } |