Skip to content

Commit e12d98e

Browse files
committed
Use HAL coding style for function naming
1 parent 402f3f1 commit e12d98e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

targets/TARGET_STM/serial_api.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -694,7 +694,7 @@ int8_t get_uart_index(UARTName uart_name)
694694
* yet. Returns 1 if there is at least 1 serial instance with ongoing ransfer
695695
* 0 otherwise.
696696
*/
697-
int serial_IsTxOngoing(void) {
697+
int serial_is_tx_ongoing(void) {
698698
int TxOngoing = 0;
699699

700700
#if defined(USART1_BASE)

targets/TARGET_STM/sleep.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ void hal_sleep(void)
157157
core_util_critical_section_exit();
158158
}
159159

160-
extern int serial_IsTxOngoing(void);
160+
extern int serial_is_tx_ongoing(void);
161161

162162
void hal_deepsleep(void)
163163
{
@@ -167,7 +167,7 @@ void hal_deepsleep(void)
167167
* This is tracked in mbed issue 4408.
168168
* For now, we're checking all Serial HW FIFO. If any transfer is ongoing
169169
* we're not entering deep sleep and returning immediately. */
170-
if(serial_IsTxOngoing()) {
170+
if(serial_is_tx_ongoing()) {
171171
return;
172172
}
173173

0 commit comments

Comments
 (0)