Browse Source

efm32lg: mark internal function as static

Squelches gcc warnings

Fixes github #686
pull/688/head
Karl Palsson 8 years ago
parent
commit
781e4d94ba
  1. 2
      lib/efm32/lg/dma.c

2
lib/efm32/lg/dma.c

@ -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…
Cancel
Save