Skip to content
This repository has been archived by the owner on Jan 26, 2022. It is now read-only.

Commit

Permalink
Fixed up a spelling mistake which once I noticed it really bugged me
Browse files Browse the repository at this point in the history
  • Loading branch information
KiwiBryn committed Jun 12, 2019
1 parent 84e2a23 commit 27df5bc
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions Rfm9xLoRaDevice/Rfm9xLoRaDevice.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,17 @@ namespace devMobile.IoT.NetMF.ISM
using devMobile.IoT.NetMF.SPI;
using Microsoft.SPOT;
using Microsoft.SPOT.Hardware;
// using SecretLabs.NETMF.Hardware.Netduino;

public sealed class Rfm9XDevice
public sealed class Rfm9XDevice
{
public delegate void EventHandler();
#if ADDRESSED_MESSAGES_PAYLOAD
public delegate void OnDataRecievedHandler(byte[] address, float packetSnr, int packetRssi, int rssi, byte[] data);
public delegate void OnDataReceivedHandler(byte[] address, float packetSnr, int packetRssi, int rssi, byte[] data);
public const byte AddressHeaderLength = 1 ;
public const byte AddressLengthMinimum = 1 ;
public const byte AddressLengthMaximum = 15 ;
#else
public delegate void OnDataRecievedHandler(float packetSnr, int packetRssi, int rssi, byte[] data);
public delegate void OnDataReceivedHandler(float packetSnr, int packetRssi, int rssi, byte[] data);
#endif

// Registers from SemTech SX127X Datasheet
Expand Down Expand Up @@ -346,7 +345,7 @@ public enum RegDioMapping1
#if ADDRESSED_MESSAGES_PAYLOAD
private byte[] DeviceAddress = null ;
#endif
public event OnDataRecievedHandler OnDataReceived = delegate { };
public event OnDataReceivedHandler OnDataReceived = delegate { };
public event EventHandler OnTransmit = delegate { };


Expand Down

0 comments on commit 27df5bc

Please sign in to comment.