Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
stm32/dac: Deinit all DACs on soft reset.
DAC timed functions continue to run after a soft reset cycle, using collected memory in the case of write_timed.
- Loading branch information
1 parent
c1841c2
commit a00e1e5
Showing
3 changed files
with
12 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,4 +28,6 @@ | |
|
||
extern const mp_obj_type_t pyb_dac_type; | ||
|
||
void dac_deinit_all(void); | ||
|
||
#endif // MICROPY_INCLUDED_STM32_DAC_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters