EG33 and C++
This commit is contained in:
parent
19dde2fcf8
commit
ebf749f746
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
#include "hal.h"
|
#include "hal.h"
|
||||||
#include "stm32_gpio.h"
|
#include "stm32_gpio.h"
|
||||||
#include "efilib.h"
|
#include "unused.h"
|
||||||
|
|
||||||
#include "board_io.h"
|
#include "board_io.h"
|
||||||
|
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#include "unused.h"
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
@ -53,9 +54,6 @@ int mytolower(const char c);
|
||||||
int efiPow10(int param);
|
int efiPow10(int param);
|
||||||
bool startsWith(const char *line, const char *prefix);
|
bool startsWith(const char *line, const char *prefix);
|
||||||
|
|
||||||
#ifndef UNUSED
|
|
||||||
#define UNUSED(x) (void)(x)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Rounds value to specified precision.
|
* Rounds value to specified precision.
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
#ifndef UNUSED
|
||||||
|
#define UNUSED(x) (void)(x)
|
||||||
|
#endif
|
Loading…
Reference in New Issue