Code cosmetics, added missing void statement to empty parameter of

functions
This commit is contained in:
Jan A
2019-09-30 19:01:10 +02:00
committed by Conor Patrick
parent 208d26be89
commit 5168afa16e
12 changed files with 67 additions and 56 deletions

View File

@ -14,12 +14,12 @@
#include "log.h"
#include "device.h"
static void flash_lock()
static void flash_lock(void)
{
FLASH->CR |= (1U<<31);
}
static void flash_unlock()
static void flash_unlock(void)
{
if (FLASH->CR & FLASH_CR_LOCK)
{