Compare commits

..

No commits in common. "e85a26d90bc0f46bbc4690e7373da4c74cb5b55b" and "85ecc3064a823092599fd0444cd41fcb154066ec" have entirely different histories.

3 changed files with 3 additions and 9 deletions

View File

@ -8,9 +8,3 @@ reflow-controller.cxxflags
reflow-controller.files
reflow-controller.includes
*.creator.user
*.cflags
*.creator
*.cxxflags
*.includes
*.config
*.files

View File

@ -48,6 +48,8 @@ CFILES += temp-converter.c
CFILES += rotary-encoder.c
DEFINES += -DDEBUGBUILD
#TODO
###################################################################################
CC=arm-none-eabi-gcc
OBJCOPY=arm-none-eabi-objcopy

View File

@ -66,9 +66,7 @@ void uart_disable()
UART_PERIPH->CR3 = 0;
dma_ring_buffer_periph_to_mem_stop(&ring_buff_rx);
dma_ring_buffer_mem_to_periph_stop(&ring_buff_tx);
#ifdef DEBUGBUILD
rcc_manager_disable_clock(&RCC->AHB1ENR, BITMASK_TO_BITNO(UART_PORT_RCC_MASK));
#endif
rcc_manager_disable_clock(&RCC->AHB1ENR, BITMASK_TO_BITNO(UART_PORT_RCC_MASK));
rcc_manager_disable_clock(&RCC->APB2ENR, BITMASK_TO_BITNO(UART_RCC_MASK));
}