Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: BREMS/BREMSConfig.cpp
- Revision:
- 225:81b72a4bf18b
- Parent:
- 223:b986e7cee521
- Child:
- 226:0e3fbbfea464
diff -r 90172915d0fb -r 81b72a4bf18b BREMS/BREMSConfig.cpp --- a/BREMS/BREMSConfig.cpp Wed Oct 17 02:59:26 2018 +0000 +++ b/BREMS/BREMSConfig.cpp Sat Oct 27 23:13:31 2018 +0000 @@ -52,18 +52,9 @@ GPIOA->MODER |= (1 << 8); GPIOA->MODER |= (1 << 9); - GPIOA->MODER |= (1 << 2); - GPIOA->MODER |= (1 << 3); - - GPIOA->MODER |= (1 << 0); - GPIOA->MODER |= (1 << 1); - GPIOB->MODER |= (1 << 0); GPIOB->MODER |= (1 << 1); - GPIOC->MODER |= (1 << 2); - GPIOC->MODER |= (1 << 3); - //DAC setup RCC->APB1ENR |= 0x20000000; DAC->CR |= DAC_CR_EN2;