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
base/firmware/web-firmware-query.c@115:24cb6e84ddd6, 2019-05-03 (annotated)
- Committer:
- andrewboyson
- Date:
- Fri May 03 10:36:38 2019 +0000
- Revision:
- 115:24cb6e84ddd6
- Parent:
- 114:900e33dfa460
- Child:
- 118:53430a2a2595
Changed firmware reset to call the new restart routine rather than directly calling the semihost reset.
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| andrewboyson | 47:cf7d4c34158e | 1 | #include "http.h" |
| andrewboyson | 115:24cb6e84ddd6 | 2 | #include "restart.h" |
| andrewboyson | 114:900e33dfa460 | 3 | #include "web-pages-base.h" |
| andrewboyson | 46:1822fdbe6c0c | 4 | |
| andrewboyson | 103:91194cc19bbb | 5 | void WebFirmwareQuery(char* pQuery) |
| andrewboyson | 46:1822fdbe6c0c | 6 | { |
| andrewboyson | 46:1822fdbe6c0c | 7 | while (pQuery) |
| andrewboyson | 46:1822fdbe6c0c | 8 | { |
| andrewboyson | 46:1822fdbe6c0c | 9 | char* pName; |
| andrewboyson | 46:1822fdbe6c0c | 10 | char* pValue; |
| andrewboyson | 46:1822fdbe6c0c | 11 | pQuery = HttpQuerySplit(pQuery, &pName, &pValue); |
| andrewboyson | 63:daad0cbb4e8e | 12 | int value = HttpQueryValueAsInt(pValue); |
| andrewboyson | 46:1822fdbe6c0c | 13 | |
| andrewboyson | 115:24cb6e84ddd6 | 14 | if (HttpSameStr(pName, "restart")) Restart(); |
| andrewboyson | 46:1822fdbe6c0c | 15 | } |
| andrewboyson | 46:1822fdbe6c0c | 16 | } |