Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Skyward Boardcore
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Emilio Corigliano
Skyward Boardcore
Commits
65a3ae66
Commit
65a3ae66
authored
5 years ago
by
Luca Erbetta
Browse files
Options
Downloads
Patches
Plain Diff
[Misc] Bug fixes
parent
3e6c4b7d
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
sbs
+1
-1
1 addition, 1 deletion
sbs
src/shared/sensors/LSM6DS3H/LSM6DS3H.h
+1
-1
1 addition, 1 deletion
src/shared/sensors/LSM6DS3H/LSM6DS3H.h
src/tests/drivers/test-IMU.cpp
+1
-1
1 addition, 1 deletion
src/tests/drivers/test-IMU.cpp
with
3 additions
and
3 deletions
sbs
+
1
−
1
View file @
65a3ae66
#!/usr/bin/python
#!/usr/bin/python
3
# Skyward Build System Configuration File
# Skyward Build System Configuration File
#
#
...
...
This diff is collapsed.
Click to expand it.
src/shared/sensors/LSM6DS3H/LSM6DS3H.h
+
1
−
1
View file @
65a3ae66
...
@@ -61,7 +61,7 @@ public:
...
@@ -61,7 +61,7 @@ public:
// The device is compatible with SPI modes 0 and 3
// The device is compatible with SPI modes 0 and 3
uint8_t
whoami
=
Bus
::
read
(
RegMap
::
WHO_AM_I
);
uint8_t
whoami
=
Bus
::
read
(
RegMap
::
WHO_AM_I
);
printf
(
"expected: %x actual: %x
\n
"
,
whoami_value
,
whoami
);
printf
(
"
[LSM]
expected: %x actual: %x
\n
"
,
whoami_value
,
whoami
);
if
(
whoami
!=
whoami_value
)
if
(
whoami
!=
whoami_value
)
{
{
last_error
=
ERR_NOT_ME
;
last_error
=
ERR_NOT_ME
;
...
...
This diff is collapsed.
Click to expand it.
src/tests/drivers/test-IMU.cpp
+
1
−
1
View file @
65a3ae66
#include
<sensors/LSM6DS3H.h>
#include
<sensors/LSM6DS3H
/LSM6DS3H
.h>
// SPI1
// SPI1
typedef
miosix
::
Gpio
<
GPIOA_BASE
,
5
>
GpioSck
;
typedef
miosix
::
Gpio
<
GPIOA_BASE
,
5
>
GpioSck
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment