Merge branch 'master' of ssh://home.hottis.de:2922/wolutator/mains-frequency-counter-stm32 into master
This commit is contained in:
@ -17,6 +17,9 @@
|
||||
#include <config.h>
|
||||
#include <counter.h>
|
||||
|
||||
#if NETWORK_STACK == 2
|
||||
#include <modemCom.h>
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
@ -43,7 +46,7 @@ void my_setup_2() {
|
||||
|
||||
networkInit();
|
||||
|
||||
counterInit();
|
||||
// counterInit();
|
||||
|
||||
logMsg("Application running");
|
||||
}
|
||||
@ -76,6 +79,17 @@ void HAL_UART_TxCpltCallback(UART_HandleTypeDef *huart) {
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
void HAL_UART_RxCpltCallback(UART_HandleTypeDef *huart) {
|
||||
#if NETWORK_STACK == 2
|
||||
if (huart == &modemUart) {
|
||||
modemRxCpltCallback(huart);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
||||
void HAL_SPI_TxCpltCallback(SPI_HandleTypeDef *hspi) {
|
||||
if (hspi == &eepromSpi) {
|
||||
eepromSpiTxCpltCallback(hspi);
|
||||
|
Reference in New Issue
Block a user