File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -544,7 +544,7 @@ uint32_t getTimerIrq(TIM_TypeDef* tim)
544544#endif
545545 break ;
546546 default :
547- printf ("TIM: Unknown timer IRQn" );
547+ // printf("TIM: Unknown timer IRQn");
548548 break ;
549549 }
550550 }
@@ -652,7 +652,7 @@ uint8_t getTimerClkSrc(TIM_TypeDef* tim)
652652 clkSrc = 2 ;
653653 break ;
654654 default :
655- printf ("TIM: Unknown timer instance" );
655+ // printf("TIM: Unknown timer instance");
656656 break ;
657657 }
658658 }
@@ -686,7 +686,7 @@ uint32_t getTimerClkFreq(TIM_TypeDef* tim)
686686#endif
687687 default :
688688 case 0 :
689- printf ("TIM: Unknown clock source" );
689+ // printf("TIM: Unknown clock source");
690690 break ;
691691 }
692692/* When TIMPRE bit of the RCC_DCKCFGR register is reset,
Original file line number Diff line number Diff line change @@ -114,15 +114,15 @@ void uart_init(serial_t *obj)
114114
115115 //Pins Rx/Tx must not be NP
116116 if (uart_rx == NP || uart_tx == NP ) {
117- printf ("ERROR: at least one UART pin has no peripheral\n" );
117+ // printf("ERROR: at least one UART pin has no peripheral\n");
118118 return ;
119119 }
120120
121121 // Get the peripheral name (UART_1, UART_2, ...) from the pin and assign it to the object
122122 obj -> uart = pinmap_merge_peripheral (uart_tx , uart_rx );
123123
124124 if (obj -> uart == NP ) {
125- printf ("ERROR: UART pins mismatch\n" );
125+ // printf("ERROR: UART pins mismatch\n");
126126 return ;
127127 }
128128 // Enable USART clock
You can’t perform that action at this time.
0 commit comments