App1_S5
/
APP4_IRQ
APP4 S5
Diff: radio.h
- Revision:
- 13:b44c1f678aff
- Parent:
- 10:c4629b6c42f8
--- a/radio.h Mon Oct 16 01:51:32 2017 +0000 +++ b/radio.h Sun Oct 22 20:20:42 2017 +0000 @@ -16,7 +16,7 @@ byte start; byte options; byte length; - byte data[MAX_MESSAGE_LENGTH] = { 0 }; + byte data[MAX_MESSAGE_LENGTH]; byte control; byte end; } radio_message_t; @@ -25,4 +25,6 @@ // public functions void init_radio_system(); -bool send_message(char* buffer, int length); \ No newline at end of file +bool send_message(char* buffer, int length); + +bool get_message(radio_message_t* message); \ No newline at end of file