fixed missing static keyword

This commit is contained in:
Morgan Diepart 2023-10-22 14:08:22 -07:00 committed by Silvano Seva
parent c60445d5be
commit 3df8657b16
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ enum Band
* @return a value from @enum Band identifying the band to which the frequency
* belong.
*/
inline Band getBandFromFrequency(const freq_t freq)
static inline enum Band getBandFromFrequency(const freq_t freq)
{
if((freq >= BAND_VHF_LO) && (freq <= BAND_VHF_HI)) return BND_VHF;
if((freq >= BAND_UHF_LO) && (freq <= BAND_UHF_HI)) return BND_UHF;