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
d63d65b8
Commit
d63d65b8
authored
1 year ago
by
schneider
Browse files
Options
Downloads
Patches
Plain Diff
bmi270: clang-format
parent
f982445e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
components/flow3r_bsp/flow3r_bsp_imu.c
+2
-2
2 additions, 2 deletions
components/flow3r_bsp/flow3r_bsp_imu.c
with
2 additions
and
2 deletions
components/flow3r_bsp/flow3r_bsp_imu.c
+
2
−
2
View file @
d63d65b8
...
...
@@ -10,9 +10,9 @@ static const char *TAG = "flow3r-imu";
#include
"freertos/FreeRTOS.h"
#include
"freertos/task.h"
#include
<inttypes.h>
#include
<math.h>
#include
<string.h>
#include
<inttypes.h>
/*! Macro that defines read write length */
#define READ_WRITE_LEN 256
...
...
@@ -59,7 +59,7 @@ BMI2_INTF_RETURN_TYPE bmi2_i2c_write(uint8_t reg_addr, const uint8_t *reg_data,
tx
[
0
]
=
reg_addr
;
memcpy
(
tx
+
1
,
reg_data
,
len
);
ESP_LOGD
(
TAG
,
"bhi write to %02X / %02X %"
PRIu32
" bytes, %u total)"
,
ESP_LOGD
(
TAG
,
"bhi write to %02X / %02X %"
PRIu32
" bytes, %u total)"
,
imu
->
dev_addr
,
reg_addr
,
len
,
sizeof
(
tx
));
esp_err_t
ret
=
flow3r_bsp_i2c_write_to_device
(
imu
->
dev_addr
,
tx
,
sizeof
(
tx
),
TIMEOUT_MS
/
portTICK_PERIOD_MS
);
...
...
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