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.
Dependencies: EthernetNetIf mbed ConfigFile
Diff: XPlaneUdp/XPlaneUdp_util.cpp
- Revision:
- 0:a5d13af495af
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/XPlaneUdp/XPlaneUdp_util.cpp Wed Dec 21 22:29:59 2011 +0000
@@ -0,0 +1,11 @@
+
+void reverse4Bytes(char* bytes)
+{
+ char temp;
+ temp = bytes[0];
+ bytes[0] = bytes[3];
+ bytes[3] = temp;
+ temp = bytes[1];
+ bytes[1] = bytes[2];
+ bytes[2] = temp;
+}