Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
NuttX RTOS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
f4grx
NuttX RTOS
Commits
d8da8135
Commit
d8da8135
authored
7 years ago
by
Gregory Nutt
Browse files
Options
Downloads
Patches
Plain Diff
stm32f103-minimum: Fix compiler error in MCP2415 logic.
parent
06246cc2
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
configs/stm32f103-minimum/src/stm32_mcp2515.c
+5
-5
5 additions, 5 deletions
configs/stm32f103-minimum/src/stm32_mcp2515.c
with
5 additions
and
5 deletions
configs/stm32f103-minimum/src/stm32_mcp2515.c
+
5
−
5
View file @
d8da8135
...
...
@@ -70,9 +70,9 @@ struct stm32_mcp2515config_s
/* Additional private definitions only known to this driver */
MCP2515_HANDLE
handle
;
/* The MCP2515 driver handle */
mcp2515_handler_t
handler
;
/* The MCP2515 interrupt handler */
FAR
void
*
arg
;
/* Argument to pass to the interrupt handler */
FAR
struct
mcp2515_can_s
*
handle
;
/* The MCP2515 driver handle */
mcp2515_handler_t
handler
;
/* The MCP2515 interrupt handler */
FAR
void
*
arg
;
/* Argument to pass to the interrupt handler */
};
/****************************************************************************
...
...
@@ -146,7 +146,7 @@ static int mcp2515_attach(FAR struct mcp2515_config_s *state,
(
FAR
struct
stm32_mcp2515config_s
*
)
state
;
irqstate_t
flags
;
caninfo
(
"Saving handle %p
\n
"
,
handler
);
caninfo
(
"Saving handle
r
%p
\n
"
,
handler
);
flags
=
enter_critical_section
();
...
...
@@ -220,7 +220,7 @@ int stm32_mcp2515initialize(FAR const char *devpath)
/* Save the opaque structure */
g_mcp2515config
.
handle
=
(
MCP2515_HANDLE
)
mcp2515
;
g_mcp2515config
.
handle
=
mcp2515
;
/* Initialize the CAN Device with the MCP2515 operations */
...
...
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