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.
Diff: RefRX.cpp
- Revision:
- 0:ac535bde6cd9
- Child:
- 1:03883ad3f749
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/RefRX.cpp Fri Jul 19 03:26:27 2013 +0000
@@ -0,0 +1,20 @@
+#include "RefRX.h"
+
+void RefRX::init (const unsigned short listen_port,
+ const unsigned short destination_control_port,
+ SharedObject<uint32_t>* ref1,
+ SharedObject<uint32_t>* ref2,
+ SharedObject<uint32_t>* ref3,
+ SharedObject<uint32_t>* ref4 )
+{
+ _RX_thread = Thread(&RefRX::_RX_thread_cycle);
+ _ref1_ptr = ref1;
+ _ref2_ptr = ref2;
+ _ref3_ptr = ref3;
+ _ref4_ptr = ref4;
+}
+
+void RefRX::_RX_thread_cycle (void const *args)
+{
+ Thread::yield();
+}
\ No newline at end of file