Skip to content

Commit

Permalink
fixup! drivers/sx127x: avoid using floats
Browse files Browse the repository at this point in the history
  • Loading branch information
maribu committed May 31, 2023
1 parent 42263bb commit 6e65a3a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sys/include/net/lora.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ extern "C" {
* @ingroup config
* @{
*/
/** @brief Frequency resolution in Hz */
#ifndef LORA_FREQUENCY_RESOLUTION_DEFAULT
#define LORA_FREQUENCY_RESOLUTION_DEFAULT (61.03515625)
/** @brief Frequency resolution in nano Hz */
#ifndef LORA_FREQUENCY_RESOLUTION_NANOHERTZ_DEFAULT
#define LORA_FREQUENCY_RESOLUTION_NANOHERTZ_DEFAULT 61035156250
#endif

/** @brief Preamble length, same for Tx and Rx
Expand Down

0 comments on commit 6e65a3a

Please sign in to comment.