Skip to content

Commit 0bb1bb7

Browse files
Run formatter
1 parent 289bcb9 commit 0bb1bb7

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

connectivity/drivers/emac/TARGET_STM/TARGET_STM32H5/TARGET_NUCLEO_H563ZI/stm32h5_eth_init.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@
3333
#include "PinNames.h"
3434

3535
/**
36-
* Override HAL Eth Init function
36+
* Override HAL Eth Init function.
37+
*
38+
* Note: This was copied from HAL_ETH_MspInit() in a project for the NUCLEO-H563ZI in STM32CubeIDE
3739
*/
3840
void EthInitPinmappings(void)
3941
{

connectivity/netsocket/include/netsocket/NetStackMemoryManager.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,10 @@ class NetStackMemoryManager {
102102
*
103103
* @return The number of pool buffers that can be allocated at any one time
104104
*/
105-
uint32_t get_pool_size() { return MBED_CONF_NSAPI_EMAC_RX_POOL_NUM_BUFS; }
105+
uint32_t get_pool_size()
106+
{
107+
return MBED_CONF_NSAPI_EMAC_RX_POOL_NUM_BUFS;
108+
}
106109

107110
/**
108111
* Free memory buffer chain

platform/include/platform/mbed_wait_api.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,8 @@ inline void _wait_us_inline(unsigned int us)
154154
#include <chrono>
155155

156156
// Override of wait_us() allowing a std::chrono type convertible to microseconds to be passed in.
157-
static inline void _wait_us_inline(std::chrono::microseconds const us) {
157+
static inline void _wait_us_inline(std::chrono::microseconds const us)
158+
{
158159
_wait_us_inline(us.count());
159160
}
160161
#endif

0 commit comments

Comments
 (0)