File tree Expand file tree Collapse file tree 1 file changed +4
-9
lines changed Expand file tree Collapse file tree 1 file changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -660,10 +660,10 @@ int8_t get_uart_index(UARTName uart_name)
660
660
return -1 ;
661
661
}
662
662
663
- /* Function to protect deep sleep while a seral Tx is ongoing on not complete
664
- * yet. Returns 1 if there is at least 1 serial instance with ongoing ransfer
665
- * 0 otherwise.
666
- */
663
+ /* Function used to protect deep sleep while a serial transmission is on-going.
664
+ .* Returns 1 if there is at least 1 serial instance with an on-going transfer
665
+ * and 0 otherwise.
666
+ */
667
667
int serial_is_tx_ongoing (void ) {
668
668
int TxOngoing = 0 ;
669
669
@@ -757,16 +757,11 @@ int serial_is_tx_ongoing(void) {
757
757
}
758
758
#endif
759
759
760
- /* If Tx is ongoing, then transfer is */
761
760
return TxOngoing ;
762
761
}
763
762
764
763
#else
765
764
766
- /* Function to protect deep sleep while a seral Tx is ongoing on not complete
767
- * yet. Returns 1 if there is at least 1 serial instance with ongoing ransfer
768
- * 0 otherwise.
769
- */
770
765
int serial_is_tx_ongoing (void ) {
771
766
return 0 ;
772
767
}
You can’t perform that action at this time.
0 commit comments