 Module:  raw-feather.ino
 
 Function:
-	Slightly improved Raw test example, for Adafruit Feather M0 LoRa
+        Slightly improved Raw test example, for Adafruit Feather M0 LoRa
 
 Version:
-	V0.7.0	Tue Jan 23 2018 10:25:50 chwon	Edit level 2
+        V0.7.0	Tue Jan 23 2018 10:25:50 chwon	Edit level 2
 
 Copyright notice:
-	This file copyright (C) 2017, 2018 by
-
-		MCCI Corporation
-		3520 Krums Corners Road
-		Ithaca, NY  14850
-
-	An unpublished work.  All rights reserved.
-
-	This file is proprietary information, and may not be disclosed or
-	copied without the prior permission of MCCI Corporation.
+        This file copyright (C) 2017, 2018 by
+
+                MCCI Corporation
+                3520 Krums Corners Road
+                Ithaca, NY  14850
+
+        An unpublished work.  All rights reserved.
+
+        This file is proprietary information, and may not be disclosed or
+        copied without the prior permission of MCCI Corporation.
 
 Author:
-	Matthijs Kooijman  2015
-	Terry Moore, MCCI Corporation	April 2017
+        Matthijs Kooijman  2015
+        Terry Moore, MCCI Corporation	April 2017
 
 Revision history:
    0.5.0  Sat Apr  1 2017 22:26:22  tmm
-	Module created.
+        Module created.
 
    0.7.0  Tue Jan 23 2018 10:25:50  chwon
-	Add Catena 4551 platform support.
+        Add Catena 4551 platform support.
 
 */
 

  uint32_t uBandwidth;

  if (! fDownlink)
	{
	if (kUplinkChannel < 64)
		{
		LMIC.freq = US915_125kHz_UPFBASE +
			    kUplinkChannel * US915_125kHz_UPFSTEP;
		uBandwidth = 125;
		}
	else
		{
		LMIC.freq = US915_500kHz_UPFBASE +
			    (kUplinkChannel - 64) * US915_500kHz_UPFSTEP;
		uBandwidth = 500;
		}
	}
  else
	{
	// downlink channel
	LMIC.freq = US915_500kHz_DNFBASE +
		    kDownlinkChannel * US915_500kHz_DNFSTEP;
	uBandwidth = 500;
	}

  // Use a suitable spreading factor
  if (uBandwidth < 500)

        LMIC.freq = IN866_F1 + kChannel * 200000;
        uBandwidth = 125;

        LMIC.datarate = IN866_DR_SF7;         // DR7
        // default tx power for IN: 30 dBm
        LMIC.txpow = IN866_TX_EIRP_MAX_DBM;
#else
