Skip to content

Warning: SPI function without return #55

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

Closed
nseidle opened this issue Aug 29, 2019 · 1 comment
Closed

Warning: SPI function without return #55

nseidle opened this issue Aug 29, 2019 · 1 comment

Comments

@nseidle
Copy link
Member

nseidle commented Aug 29, 2019

Looks like a function __interruptsStatus() needs a return value:

C:\Users\user\AppData\Local\Arduino15\packages\SparkFun\hardware\apollo3\0.0.0\libraries\SPI\src\SPI.cpp: In function 'unsigned char __interruptsStatus()':
C:\Users\user\AppData\Local\Arduino15\packages\SparkFun\hardware\apollo3\0.0.0\libraries\SPI\src\SPI.cpp:133:1: warning: no return statement in function returning non-void [-Wreturn-type]

@nseidle nseidle mentioned this issue Sep 21, 2019
@oclyke
Copy link
Contributor

oclyke commented Sep 23, 2019

This was fixed in the pull request

@oclyke oclyke closed this as completed Sep 23, 2019
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

No branches or pull requests

2 participants