forked from OpenEtherCATsociety/SOEM
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Endian fixes (OpenEtherCATsociety#222)
This patch fixes some bugs on big-endian systems. - Use temp variables for etohs() and etohl() at function calls to avoid multiple function calls for one value. - Fix and add use of etohs(), etohl(), htoes() and htoel(). - Fix use of 32bit values in 64bit variables.
- Loading branch information
1 parent
0a67e6b
commit 8f2b233
Showing
3 changed files
with
38 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters