Skip to content

Commit

Permalink
Remove trailing blanks
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Jaeckle authored and mluis1 committed Jul 8, 2019
1 parent 4bf728d commit 3a290c0
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions src/apps/LoRaMac/common/LmHandler/LmHandler.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@

#include "LoRaMacTest.h"

static CommissioningParams_t CommissioningParams =
static CommissioningParams_t CommissioningParams =
{
.IsOtaaActivation = OVER_THE_AIR_ACTIVATION,
.DevEui = LORAWAN_DEVICE_EUI,
Expand Down Expand Up @@ -92,14 +92,14 @@ static LoRaMacPrimitives_t LoRaMacPrimitives;
*/
static LoRaMacCallback_t LoRaMacCallbacks;

static LmHandlerJoinParams_t JoinParams =
static LmHandlerJoinParams_t JoinParams =
{
.CommissioningParams = &CommissioningParams,
.Datarate = DR_0,
.Status = LORAMAC_HANDLER_ERROR
};

static LmHandlerTxParams_t TxParams =
static LmHandlerTxParams_t TxParams =
{
.CommissioningParams = &CommissioningParams,
.MsgType = LORAMAC_HANDLER_UNCONFIRMED_MSG,
Expand All @@ -116,7 +116,7 @@ static LmHandlerTxParams_t TxParams =
.Channel = 0
};

static LmHandlerRxParams_t RxParams =
static LmHandlerRxParams_t RxParams =
{
.CommissioningParams = &CommissioningParams,
.Rssi = 0,
Expand All @@ -125,11 +125,11 @@ static LmHandlerRxParams_t RxParams =
.RxSlot = -1
};

static LoRaMAcHandlerBeaconParams_t BeaconParams =
static LoRaMAcHandlerBeaconParams_t BeaconParams =
{
.State = LORAMAC_HANDLER_BEACON_ACQUIRING,
.Info =
{
.Info =
{
.Time = { .Seconds = 0, .SubSeconds = 0 },
.Frequency = 0,
.Datarate = 0,
Expand All @@ -145,7 +145,7 @@ static LoRaMAcHandlerBeaconParams_t BeaconParams =

/*!
* Indicates if a switch to Class B operation is pending or not.
*
*
* TODO: Create a new structure to store the current handler states/status
* and add the below variable to it.
*/
Expand Down Expand Up @@ -212,7 +212,7 @@ typedef enum PackageNotifyTypes_e

/*!
* Notifies the package to process the LoRaMac callbacks.
*
*
* \param [IN] notifyType MAC notification type [PACKAGE_MCPS_CONFIRM,
* PACKAGE_MCPS_INDICATION,
* PACKAGE_MLME_CONFIRM,
Expand Down Expand Up @@ -385,7 +385,7 @@ void LmHandlerProcess( void )
* Join a LoRa Network in classA
*
* \Note if the device is ABP, this is a pass through function
*
*
* \param [IN] isOtaa Indicates which activation mode must be used
*/
static void LmHandlerJoinRequest( bool isOtaa )
Expand All @@ -407,7 +407,7 @@ static void LmHandlerJoinRequest( bool isOtaa )
else
{
MibRequestConfirm_t mibReq;
LmHandlerJoinParams_t joinParams =
LmHandlerJoinParams_t joinParams =
{
.CommissioningParams = &CommissioningParams,
.Datarate = LmHandlerParams->TxDatarate,
Expand Down Expand Up @@ -522,7 +522,7 @@ static LmHandlerErrorStatus_t LmHandlerDeviceTimeReq( void )

status = LoRaMacMlmeRequest( &mlmeReq );
LmHandlerCallbacks->OnMacMlmeRequest( status, &mlmeReq );

if( status == LORAMAC_STATUS_OK )
{
return LORAMAC_HANDLER_SUCCESS;
Expand Down Expand Up @@ -692,7 +692,7 @@ static void McpsConfirm( McpsConfirm_t *mcpsConfirm )
TxParams.AckReceived = mcpsConfirm->AckReceived;

LmHandlerCallbacks->OnTxData( &TxParams );

LmHandlerPackagesNotify( PACKAGE_MCPS_CONFIRM, mcpsConfirm );
}

Expand Down

0 comments on commit 3a290c0

Please sign in to comment.