File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -694,7 +694,7 @@ int8_t get_uart_index(UARTName uart_name)
694
694
* yet. Returns 1 if there is at least 1 serial instance with ongoing ransfer
695
695
* 0 otherwise.
696
696
*/
697
- int serial_IsTxOngoing (void ) {
697
+ int serial_is_tx_ongoing (void ) {
698
698
int TxOngoing = 0 ;
699
699
700
700
#if defined(USART1_BASE )
Original file line number Diff line number Diff line change @@ -157,7 +157,7 @@ void hal_sleep(void)
157
157
core_util_critical_section_exit ();
158
158
}
159
159
160
- extern int serial_IsTxOngoing (void );
160
+ extern int serial_is_tx_ongoing (void );
161
161
162
162
void hal_deepsleep (void )
163
163
{
@@ -167,7 +167,7 @@ void hal_deepsleep(void)
167
167
* This is tracked in mbed issue 4408.
168
168
* For now, we're checking all Serial HW FIFO. If any transfer is ongoing
169
169
* we're not entering deep sleep and returning immediately. */
170
- if (serial_IsTxOngoing ()) {
170
+ if (serial_is_tx_ongoing ()) {
171
171
return ;
172
172
}
173
173
You can’t perform that action at this time.
0 commit comments