-
Notifications
You must be signed in to change notification settings - Fork 4
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
Updated test.go to match recent changes #4
base: master
Are you sure you want to change the base?
Conversation
fyi - if you remove those flags mpu.go won't build. mpu.go is a Go language wrapper around a library file that was built using C. Go and C have two different ABIs and Go uses a tool called cgo for its cffi (foreign function interface), cgo needs the ld flags so it knows what lib to look for. |
Yeah I figured that out...i had removed them to try to generate a new error, which eventually it did. |
yup, saw the updated commit but thought I'd explain why the magical commands are there. |
thx!! |
DEFS = -DEMPL_TARGET_LINUX -DMPU9150 -DAK8975_SECONDARY #DEFS = -DEMPL_TARGET_LINUX -DMPU9250 -DAK8963_SECONDARY
The test.go file currently will not run, this update fixes that.