Remove trailing whitespaces and trailing duplicate newlines

This commit is contained in:
Matthias Grob
2023-12-01 13:11:00 -05:00
committed by Daniel Agar
parent d8d2213cab
commit 4c0b6dbe86
20 changed files with 3 additions and 54 deletions
@@ -58,5 +58,3 @@ with open(filename, 'w') as outfile:
outfile.write("}\n")
@@ -30,6 +30,7 @@
# POSSIBILITY OF SUCH DAMAGE.
#
############################################################################
px4_add_module(
MODULE lib__controllib__controllib_test
MAIN controllib_test
@@ -39,5 +40,3 @@ px4_add_module(
controllib_test_main.cpp
DEPENDS
)
-2
View File
@@ -134,5 +134,3 @@ void __EXPORT float2SigExp(const float &num, float &sig, int &exp)
for (int i = 0; i < abs(exp); i++) { sig *= 10; }
}
}
+1 -7
View File
@@ -53,7 +53,6 @@
#include "err.h" // warnx
#include <assert.h>
int val_read(void *dest, volatile const void *src, int bytes)
{
@@ -144,8 +143,6 @@ int lock_otp(void)
return errors;
}
// COMPLETE, BUSY, or other flash error?
static int F_GetStatus(void)
{
@@ -177,7 +174,7 @@ void F_unlock(void)
}
}
// lock the FLASH Registers
// lock the FLASH Registers
void F_lock(void)
{
FLASH->control |= F_CR_LOCK;
@@ -233,6 +230,3 @@ int F_write_byte(unsigned long Address, uint8_t Data)
//Return the Program Status
return !(status == F_COMPLETE);
}
@@ -134,5 +134,3 @@ static constexpr float WMM_STRENGTH_MIN_GS = 22.2; // latitude: -30, longitude:
static constexpr float WMM_STRENGTH_MAX_GS = 66.9; // latitude: -60, longitude: 140
static constexpr float WMM_STRENGTH_MEAN_GS = 46.4;
static constexpr float WMM_STRENGTH_MEDIAN_GS = 48.8;