mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 02:18:29 -04:00
HAL_ChibiOS: removed duplicate defines
This commit is contained in:
parent
ff87d27143
commit
60a773d045
@ -291,8 +291,6 @@ def write_mcu_config(f):
|
||||
f.write('// MCU type (ChibiOS define)\n')
|
||||
f.write('#define %s_MCUCONF\n' % get_config('MCU'))
|
||||
f.write('#define %s\n\n' % get_config('MCU', 1))
|
||||
f.write('// Board voltage. Required for performance limits calculation\n')
|
||||
f.write('#define STM32_VDD %s\n\n' % get_config('STM32_VDD'))
|
||||
f.write('// crystal frequency\n')
|
||||
f.write('#define STM32_HSECLK %sU\n\n' % get_config('OSCILLATOR_HZ'))
|
||||
f.write('// UART used for stdout (printf)\n')
|
||||
|
@ -116,8 +116,6 @@ def write_dma_header(f, peripheral_list, mcu_type):
|
||||
|
||||
|
||||
f.write("// auto-generated DMA mapping from dma_resolver.py\n")
|
||||
f.write('\n#pragma once\n\n')
|
||||
|
||||
|
||||
if unassigned:
|
||||
f.write("\n// Note: The following peripherals can't be resolved for DMA: %s\n\n" % unassigned)
|
||||
|
Loading…
Reference in New Issue
Block a user