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
action.c@200:5acbc41bf469, 2021-05-20 (annotated)
- Committer:
- andrewboyson
- Date:
- Thu May 20 14:32:52 2021 +0000
- Revision:
- 200:5acbc41bf469
- Parent:
- 61:aad055f1b0d1
Increased number of arp entries from 20 to 30 to accommodate the number of WIZ devices plus a few incoming port 80 calls from the internet.
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| andrewboyson | 61:aad055f1b0d1 | 1 | #include <stdbool.h> |
| andrewboyson | 61:aad055f1b0d1 | 2 | |
| andrewboyson | 41:db727df5f98b | 3 | int ActionMakeFromDestAndTrace(int dest, bool trace) |
| andrewboyson | 41:db727df5f98b | 4 | { |
| andrewboyson | 41:db727df5f98b | 5 | if (trace) return dest | 0x8000; |
| andrewboyson | 41:db727df5f98b | 6 | else return dest & 0x7FFF; |
| andrewboyson | 41:db727df5f98b | 7 | } |
| andrewboyson | 41:db727df5f98b | 8 | int ActionGetDestPart (int action) { return action & 0x7FFF; } |
| andrewboyson | 41:db727df5f98b | 9 | bool ActionGetTracePart(int action) { return action & 0x8000; } |