1
0
mirror of https://github.com/mfontanini/libtins synced 2026-01-28 04:34:27 +01:00

Added Utils::channel_to_mhz to convert channel to mhz frequency.

This commit is contained in:
Matias Fontanini
2011-08-23 12:01:59 -03:00
parent d7f1a59092
commit 730dcdea44
2 changed files with 12 additions and 1 deletions

View File

@@ -164,7 +164,14 @@ namespace Tins {
* \param data_size The size of the input buffer.
*/
uint32_t crc32(uint8_t* data, uint32_t data_size);
/**
* \brief Converts a channel number to its mhz representation.
* \param channel The channel number.
* \return The channel's mhz representation.
*/
uint16_t channel_to_mhz(uint16_t channel);
/** \brief Generic function to iterate through interface and collect
* data.
*