Skip to content
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

Fix undefined macro error in ARM build #22

Merged
merged 1 commit into from
Aug 23, 2018
Merged

Fix undefined macro error in ARM build #22

merged 1 commit into from
Aug 23, 2018

Conversation

offirko
Copy link
Contributor

@offirko offirko commented Aug 23, 2018

No description provided.

@offirko offirko merged commit 622382a into master Aug 23, 2018
@@ -31,6 +31,9 @@ using namespace mbed;
#define SPIF_DEFAULT_PAGE_SIZE 256
#define SPIF_DEFAULT_SE_SIZE 4096
#define SPI_MAX_STATUS_REGISTER_SIZE 2
#ifndef UINT64_MAX
#define UINT64_MAX -1
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be forced to uint64_t?

#define UINT64_MAX ((uint64_t)-1)

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