mirror of https://github.com/ArduPilot/ardupilot
AP_HAL_ChibiOS: add missing EOL in output
without it a double define line was giving compiler an error
This commit is contained in:
parent
382cbb9b4d
commit
f2347e7845
|
@ -918,7 +918,7 @@ def write_mcu_config(f):
|
||||||
if env_vars['EXTERNAL_PROG_FLASH_MB'] and not args.bootloader:
|
if env_vars['EXTERNAL_PROG_FLASH_MB'] and not args.bootloader:
|
||||||
f.write('#define CRT1_RAMFUNC_ENABLE TRUE\n') # this will enable loading program sections to RAM
|
f.write('#define CRT1_RAMFUNC_ENABLE TRUE\n') # this will enable loading program sections to RAM
|
||||||
f.write('#define __RAMFUNC__ __attribute__ ((long_call, __section__(".ramfunc")))\n')
|
f.write('#define __RAMFUNC__ __attribute__ ((long_call, __section__(".ramfunc")))\n')
|
||||||
f.write('#define PORT_IRQ_ATTRIBUTES __RAMFUNC__')
|
f.write('#define PORT_IRQ_ATTRIBUTES __RAMFUNC__\n')
|
||||||
else:
|
else:
|
||||||
f.write('#define CRT1_RAMFUNC_ENABLE FALSE\n')
|
f.write('#define CRT1_RAMFUNC_ENABLE FALSE\n')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue