A stack which works with or without an Mbed os library. Provides IPv4 or IPv6 with a full 1500 byte buffer.
Dependents: oldheating gps motorhome heating
Diff: action.cpp
- Revision:
- 40:a94674b4f5a2
- Parent:
- 39:52419009f230
- Child:
- 41:db727df5f98b
--- a/action.cpp Wed Oct 04 15:25:55 2017 +0000 +++ b/action.cpp Thu Oct 05 09:00:18 2017 +0000 @@ -1,3 +1,3 @@ -int ActionMakeFromDestAndTrace(int dest, bool trace) { return trace ? dest | 0x8000 : dest | 0x7FFF; } +int ActionMakeFromDestAndTrace(int dest, bool trace) { return trace ? dest | 0x8000 : dest & 0x7FFF; } int ActionGetDestPart (int action) { return action & 0x7FFF; } bool ActionGetTracePart (int action) { return action & 0x8000; } \ No newline at end of file