Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
Beam Positoning Monitor - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Beam Positoning Monitor - Software
Commits
13db8b2b
Commit
13db8b2b
authored
Apr 27, 2016
by
Lucas Russo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fmc250m_4ch: fix missing destroy for ISLA216P instances
parent
68c40a2e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
sm_io_fmc250m_4ch_core.c
src/sm_io/modules/fmc250m_4ch/sm_io_fmc250m_4ch_core.c
+6
-0
No files found.
src/sm_io/modules/fmc250m_4ch/sm_io_fmc250m_4ch_core.c
View file @
13db8b2b
...
...
@@ -191,6 +191,12 @@ smio_err_e smio_fmc250m_4ch_destroy (smio_fmc250m_4ch_t **self_p)
smch_pca9547_destroy
(
&
self
->
smch_pca9547
);
}
/* Destroy all ISLA216P instances */
uint32_t
i
;
for
(
i
=
0
;
i
<
NUM_FMC250M_4CH_ISLA216P
;
++
i
)
{
smch_isla216p_destroy
(
&
self
->
smch_isla216p_adc
[
i
]);
}
free
(
self
);
*
self_p
=
NULL
;
}
...
...
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