mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-26 09:56:36 +08:00
Remove trailing whitespaces and trailing duplicate newlines
This commit is contained in:
committed by
Daniel Agar
parent
d8d2213cab
commit
4c0b6dbe86
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user