fixing indentation issues reported by eclipse mraa
Signed-off-by: kathaashok <katha.ashok@adlinktech.com>
This commit is contained in:
@@ -1,12 +1,12 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* Author: Dan O'Donovan <dan@emutex.com>
|
* Author: Dan O'Donovan <dan@emutex.com>
|
||||||
* Author: Santhanakumar A <santhanakumar.a@adlinktech.com>
|
* Author: Santhanakumar A <santhanakumar.a@adlinktech.com>
|
||||||
|
|
||||||
* Copyright (c) 2019 ADLINK Technology Inc.
|
* Copyright (c) 2019 ADLINK Technology Inc.
|
||||||
* SPDX-License-Identifier: MIT
|
* SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
@@ -655,8 +655,8 @@ static int sx150x_init(int bus_num)
|
|||||||
{
|
{
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
// resetting sx1509q
|
// resetting sx1509q
|
||||||
rx_tx_buf[0] = 0x7d;
|
rx_tx_buf[0] = 0x7d;
|
||||||
rx_tx_buf[1] = 0x12;
|
rx_tx_buf[1] = 0x12;
|
||||||
|
|
||||||
@@ -668,8 +668,8 @@ static int sx150x_init(int bus_num)
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
// configuring clock and misc register for PWM feature
|
// configuring clock and misc register for PWM feature
|
||||||
rx_tx_buf[0] = 0x1E;
|
rx_tx_buf[0] = 0x1E;
|
||||||
if(write(_fd, &(rx_tx_buf[0]), 1) == 1)
|
if(write(_fd, &(rx_tx_buf[0]), 1) == 1)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user