efm32lg: mark internal function as static
Squelches gcc warnings Fixes github #686
This commit is contained in:
parent
ff7a6fbfd6
commit
781e4d94ba
@ -540,7 +540,7 @@ uint32_t dma_desc_get_user_data(uint32_t desc_base, enum dma_ch ch)
|
|||||||
* @return the calculate end address
|
* @return the calculate end address
|
||||||
* @note can be used to calculate {source, destination} end address
|
* @note can be used to calculate {source, destination} end address
|
||||||
*/
|
*/
|
||||||
inline uint32_t dma_calc_end_from_start(uint32_t start, uint8_t inc,
|
static inline uint32_t dma_calc_end_from_start(uint32_t start, uint8_t inc,
|
||||||
uint16_t n_minus_1)
|
uint16_t n_minus_1)
|
||||||
{
|
{
|
||||||
switch (inc) {
|
switch (inc) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user