Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
flow3r firmware
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
Service Desk
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dos
flow3r firmware
Commits
f626c7d0
Commit
f626c7d0
authored
1 year ago
by
schneider
Committed by
q3k
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
bmp581: st3m support
parent
75f4edd1
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
components/st3m/st3m_imu.c
+4
-0
4 additions, 0 deletions
components/st3m/st3m_imu.c
components/st3m/st3m_imu.h
+1
-0
1 addition, 0 deletions
components/st3m/st3m_imu.h
with
5 additions
and
0 deletions
components/st3m/st3m_imu.c
+
4
−
0
View file @
f626c7d0
...
...
@@ -22,3 +22,7 @@ void st3m_imu_init() { flow3r_bsp_imu_init(&imu); }
esp_err_t
st3m_imu_read_acc_mps
(
float
*
x
,
float
*
y
,
float
*
z
)
{
return
flow3r_bsp_imu_read_acc_mps
(
&
imu
,
x
,
y
,
z
);
}
esp_err_t
st3m_imu_read_pressure
(
float
*
pressure
,
float
*
temperature
)
{
return
flow3r_bsp_imu_read_pressure
(
&
imu
,
pressure
,
temperature
);
}
This diff is collapsed.
Click to expand it.
components/st3m/st3m_imu.h
+
1
−
0
View file @
f626c7d0
...
...
@@ -8,3 +8,4 @@
void
st3m_imu_init
(
void
);
esp_err_t
st3m_imu_read_acc_mps
(
float
*
x
,
float
*
y
,
float
*
z
);
esp_err_t
st3m_imu_read_pressure
(
float
*
pressure
,
float
*
temperature
);
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