aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/update_mks_robin.py
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2022-12-13 14:42:23 -0500
committerKevin O'Connor <kevin@koconnor.net>2023-01-17 18:22:21 -0500
commitcefbad9ef4cea82c6bc006b1f78f174f69bc594e (patch)
tree04b262d1489d9f67b32d9c66b124092da6fa416d /scripts/update_mks_robin.py
parentd372f913efb84b2303aff9906caeed44d9b37069 (diff)
downloadkutter-cefbad9ef4cea82c6bc006b1f78f174f69bc594e.tar.gz
kutter-cefbad9ef4cea82c6bc006b1f78f174f69bc594e.tar.xz
kutter-cefbad9ef4cea82c6bc006b1f78f174f69bc594e.zip
stm32: Reduce read-modify-write of CR in stm32h7_adc.c init
Prefer explicitly setting the CR hardware register to defined values during initialization. Also, prefer "#if CONFIG_MACH_STM32H7" over bit definitions to make it clear that the code applies only on stm32h7. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'scripts/update_mks_robin.py')
0 files changed, 0 insertions, 0 deletions