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
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
flow3r
flow3r firmware
Commits
627524ad
Commit
627524ad
authored
1 year ago
by
q3k
Browse files
Options
Downloads
Patches
Plain Diff
components/badge23: make captouch register logs into debug logs
parent
8dd6910c
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
components/badge23/captouch.c
+1
-1
1 addition, 1 deletion
components/badge23/captouch.c
with
1 addition
and
1 deletion
components/badge23/captouch.c
+
1
−
1
View file @
627524ad
...
@@ -104,7 +104,7 @@ static struct ad714x_chip chip_bot_rev5 = {
...
@@ -104,7 +104,7 @@ static struct ad714x_chip chip_bot_rev5 = {
static
esp_err_t
ad714x_i2c_write
(
const
struct
ad714x_chip
*
chip
,
const
uint16_t
reg
,
const
uint16_t
data
)
static
esp_err_t
ad714x_i2c_write
(
const
struct
ad714x_chip
*
chip
,
const
uint16_t
reg
,
const
uint16_t
data
)
{
{
const
uint8_t
tx
[]
=
{
reg
>>
8
,
reg
&
0xFF
,
data
>>
8
,
data
&
0xFF
};
const
uint8_t
tx
[]
=
{
reg
>>
8
,
reg
&
0xFF
,
data
>>
8
,
data
&
0xFF
};
ESP_LOG
I
(
TAG
,
"AD7147 write reg %X-> %X"
,
reg
,
data
);
ESP_LOG
D
(
TAG
,
"AD7147 write reg %X-> %X"
,
reg
,
data
);
return
flow3r_bsp_i2c_write_to_device
(
*
chip
->
addr
,
tx
,
sizeof
(
tx
),
TIMEOUT_MS
/
portTICK_PERIOD_MS
);
return
flow3r_bsp_i2c_write_to_device
(
*
chip
->
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