Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
DIOT Monitoring Module
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
6
Issues
6
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
Snippets
Snippets
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
DIOT Monitoring Module
Commits
7002cd24
Commit
7002cd24
authored
May 19, 2022
by
Adam Wujek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bootloader: fix access rigths for query command
Signed-off-by:
Adam Wujek
<
dev_public@wujek.eu
>
parent
961fedd7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
i2c_impl.c
bootloader/src/i2c_impl.c
+1
-1
No files found.
bootloader/src/i2c_impl.c
View file @
7002cd24
...
...
@@ -72,7 +72,7 @@ static const int8_t cmd_data_lengths[] = {
static
int8_t
cmd_data_length_query
=
-
1
;
static
cmd_t
cmds_cmds
[]
=
(
cmd_t
[]){
{
0x1A
,
(
int8_t
*
)
&
cmd_data_length_query
,
(
uint8_t
*
)
&
query_r
,
(
fp_t
)
NULL
,
&
query_prp
,
(
fp_t
)
NULL
,
QUERY_
SUP
,
1
},
{
0x1A
,
(
int8_t
*
)
&
cmd_data_length_query
,
(
uint8_t
*
)
&
query_r
,
(
fp_t
)
NULL
,
&
query_prp
,
(
fp_t
)
NULL
,
QUERY_
WR
,
1
},
{
0x99
,
(
int8_t
*
)
&
cmd_data_lengths
[
cmd_0x99
],
(
uint8_t
*
)
&
MFR_ID
,
(
fp_t
)
NULL
,
(
fp_t
)
NULL
,
(
fp_t
)
NULL
,
QUERY_RD
|
QUERY_FMT_NAN
,
0
},
{
0x9A
,
(
int8_t
*
)
&
cmd_data_lengths
[
cmd_0x9A
],
(
uint8_t
*
)
&
MFR_MDL
,
(
fp_t
)
NULL
,
(
fp_t
)
NULL
,
(
fp_t
)
NULL
,
QUERY_RD
|
QUERY_FMT_NAN
,
0
},
{
0x9B
,
(
int8_t
*
)
&
cmd_data_lengths
[
cmd_0x9B
],
(
uint8_t
*
)
&
MFR_REV
,
(
fp_t
)
NULL
,
(
fp_t
)
NULL
,
(
fp_t
)
NULL
,
QUERY_RD
|
QUERY_FMT_NAN
,
0
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment