Skip to content

Byteswap SmartScope.Rom.Map structure as needed when marshalling #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

zeldin
Copy link
Contributor

@zeldin zeldin commented Oct 24, 2015

The Map structure is stored in little endian format in the FLASH.
Thus, if the host is big endian, the structure needs to be
byteswapped during marshalling.

louiecaulfield and others added 7 commits September 30, 2015 15:02
IScope: added getter for VerticalRange
IScope: added getter for AcquisitionMode
The Map structure is stored in little endian format in the FLASH.
Thus, if the host is big endian, the structure needs to be
byteswapped during marshalling.
@louiecaulfield
Copy link
Contributor

Thanks for this. Can you elaborate on which platform you found this fix to be necessary? I'm mostly curious to understand what you are building 😉

@zeldin
Copy link
Contributor Author

zeldin commented Oct 26, 2015

I'm running on Linux/PowerPC (32-bit big endian).

@louiecaulfield louiecaulfield force-pushed the master branch 2 times, most recently from d9b4619 to 6fa39d1 Compare August 31, 2016 13:09
louiecaulfield added a commit that referenced this pull request Oct 12, 2016
Fixed broken delegates
@louiecaulfield louiecaulfield force-pushed the master branch 2 times, most recently from 6bda1e9 to 7984e5c Compare November 24, 2016 21:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants