aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/pi433/rf69_enum.h
diff options
context:
space:
mode:
authorLuca Söthe <luca@acul.me>2017-11-12 18:59:11 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-11-28 14:07:15 +0100
commit8d05bce217de06cba6f2600ed54a69304def9ab5 (patch)
tree76f6de1bd679cc1c581beb3a42dd5ad2ac26a4f7 /drivers/staging/pi433/rf69_enum.h
parentstaging: rtl8712: remove redundant zero assignment to val32 (diff)
downloadlinux-dev-8d05bce217de06cba6f2600ed54a69304def9ab5.tar.xz
linux-dev-8d05bce217de06cba6f2600ed54a69304def9ab5.zip
staging: pi433: Fixed coding style issues with braces
Removed a few new lines after enum and struct names because of the following bracket. Signed-off-by: Luca Söthe <luca@acul.me> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/pi433/rf69_enum.h')
-rw-r--r--drivers/staging/pi433/rf69_enum.h57
1 files changed, 19 insertions, 38 deletions
diff --git a/drivers/staging/pi433/rf69_enum.h b/drivers/staging/pi433/rf69_enum.h
index fbfb59bd3f3d..86429aa66ad1 100644
--- a/drivers/staging/pi433/rf69_enum.h
+++ b/drivers/staging/pi433/rf69_enum.h
@@ -18,14 +18,12 @@
#ifndef RF69_ENUM_H
#define RF69_ENUM_H
-enum optionOnOff
-{
+enum optionOnOff {
optionOff,
optionOn
};
-enum mode
-{
+enum mode {
mode_sleep,
standby,
synthesizer,
@@ -33,21 +31,18 @@ enum mode
receive
};
-enum dataMode
-{
+enum dataMode {
packet,
continuous,
continuousNoSync
};
-enum modulation
-{
+enum modulation {
OOK,
FSK
};
-enum modShaping
-{
+enum modShaping {
shapingOff,
shaping1_0,
shaping0_5,
@@ -56,8 +51,7 @@ enum modShaping
shaping2BR
};
-enum paRamp
-{
+enum paRamp {
ramp3400,
ramp2000,
ramp1000,
@@ -76,14 +70,12 @@ enum paRamp
ramp10
};
-enum antennaImpedance
-{
+enum antennaImpedance {
fiftyOhm,
twohundretOhm
};
-enum lnaGain
-{
+enum lnaGain {
automatic,
max,
maxMinus6,
@@ -94,8 +86,7 @@ enum lnaGain
undefined
};
-enum dccPercent
-{
+enum dccPercent {
dcc16Percent,
dcc8Percent,
dcc4Percent,
@@ -106,22 +97,19 @@ enum dccPercent
dcc0_125Percent
};
-enum mantisse
-{
+enum mantisse {
mantisse16,
mantisse20,
mantisse24
};
-enum thresholdType
-{
+enum thresholdType {
fixed,
peak,
average
};
-enum thresholdStep
-{
+enum thresholdStep {
step_0_5db,
step_1_0db,
step_1_5db,
@@ -132,8 +120,7 @@ enum thresholdStep
step_6_0db
};
-enum thresholdDecrement
-{
+enum thresholdDecrement {
dec_every8th,
dec_every4th,
dec_every2nd,
@@ -144,8 +131,7 @@ enum thresholdDecrement
dec_16times
};
-enum flag
-{
+enum flag {
modeSwitchCompleted,
readyToReceive,
readyToSend,
@@ -165,33 +151,28 @@ enum flag
batteryLow
};
-enum fifoFillCondition
-{
+enum fifoFillCondition {
afterSyncInterrupt,
always
};
-enum packetFormat
-{
+enum packetFormat {
packetLengthFix,
packetLengthVar
};
-enum txStartCondition
-{
+enum txStartCondition {
fifoLevel,
fifoNotEmpty
};
-enum addressFiltering
-{
+enum addressFiltering {
filteringOff,
nodeAddress,
nodeOrBroadcastAddress
};
-enum dagc
-{
+enum dagc {
normalMode,
improve,
improve4LowModulationIndex