Fork of Semtech LoRaWAN stack

Fork of LoRaWAN-lib by canuck lehead

Files at this revision

API Documentation at this revision

Comitter:
Shaun Nelson
Date:
Tue Aug 22 11:18:15 2017 -0400
Branch:
develop
Parent:
37:a592e8eeaa1e
Child:
45:ac627973595b
Commit message:
Fix compiler narrowing conversion warning

Changed in this revision

LoRaMac.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/LoRaMac.cpp	Tue Aug 08 19:27:17 2017 -0400
+++ b/LoRaMac.cpp	Tue Aug 22 11:18:15 2017 -0400
@@ -417,7 +417,7 @@
 /*!
  * Bandwidths table definition in Hz
  */
-const uint32_t Bandwidths[] = { 125e3, 125e3, 125e3, 125e3, 500e3, 0, 0, 0, 500e3, 500e3, 500e3, 500e3, 500e3, 500e3, 0, 0 };
+const uint32_t Bandwidths[] = { 125000, 125000, 125000, 125000, 500000, 0, 0, 0, 500000, 500000, 500000, 500000, 500000, 500000, 0, 0 };
 
 /*!
  * Up/Down link data rates offset definition