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: MBED_LIN_RGB_Master_Example
Diff: LinMaster.h
- Revision:
- 5:b42737f5dabc
- Parent:
- 4:41b153e9a39c
- Child:
- 6:0827e5003e17
--- a/LinMaster.h Tue Jun 16 06:22:42 2015 +0000
+++ b/LinMaster.h Thu Jun 25 06:30:47 2015 +0000
@@ -144,12 +144,12 @@
* true on succes,
* false on fail
*/
- bool get_rx_data(Frame_t * ptrFrame);
+ bool get_rx_data(Frame_t & ptrFrame);
void TickEventHndl(void);
void PinEventHndl(void);
-
+ uint8_t RXbuf[11];
private:
enum FrameError_t {
NoError, /* No error */
@@ -211,7 +211,7 @@
uint8_t TXbuf[11];
uint8_t TXbufIndex;
- uint8_t RXbuf[11];
+// uint8_t RXbuf[11];
uint8_t RXbufIndex;
uint8_t RXtimeout;
uint16_t RXtimeoutSubCTR;