App1_S5 / Mbed 2 deprecated APP4_IRQ

Dependencies:   mbed-rtos mbed

Revision:
2:fdb34827d964
Parent:
1:5fc0c0996264
Child:
3:6ea97936f6fa
--- a/radio.h	Wed Oct 11 18:57:19 2017 +0000
+++ b/radio.h	Wed Oct 11 19:14:21 2017 +0000
@@ -7,20 +7,23 @@
 
 #define MAX_MESSAGE_LENGTH 80
 
-typedef byte char;
+typedef char byte;
 
 typedef struct {
     byte preambule;
     byte start;
     byte options;
     byte length;
-    byte[MAX_MESSAGE_LENGTH] data;
+    byte data[MAX_MESSAGE_LENGTH];
     byte control;
     byte end;
 } radio_message_t;
 
 // Private
 
+void setup_interrupt_in();
 
 
-// API
\ No newline at end of file
+// API
+
+void init_radio_system();
\ No newline at end of file