APP 4
Dependencies: mbed CRC16 mbed-rtos
Diff: Manchester.h
- Revision:
- 13:195826b8c61b
- Parent:
- 6:3181f546e812
- Child:
- 17:8d8c33bdcaf5
--- a/Manchester.h Sun Feb 21 21:47:13 2016 +0000 +++ b/Manchester.h Mon Feb 22 17:52:26 2016 +0000 @@ -5,7 +5,7 @@ return (bit == clock); } -inline bool decode(bool manchester, bool clock) +inline bool decode(bool manchester1, bool manchester2) { - return (manchester == clock); + return (manchester1 && !manchester2); }