Commit 3bc6a027 authored by Adam Wujek's avatar Adam Wujek

userspace/wrsw_hal: remove 2 warnings at compilation

Signed-off-by: 's avatarAdam Wujek <dev_public@wujek.eu>
parent 5a5df0c8
......@@ -26,6 +26,7 @@
#include "hal_ports.h"
#include "hal_timer.h"
#include "hal_timing.h"
#include "hal_port_leds.h"
#define MAX_CLEANUP_CALLBACKS 16
......
......@@ -551,19 +551,6 @@ static void _load_tx_calibration_file(struct hal_port_state * ports) {
cfg_close(_calibrationConfig);
}
static int file_exists(const char *filename)
{
FILE *f = fopen(filename, "r");
if (f != NULL)
{
fclose(f);
return 1;
}
return 0;
}
static void _write_tx_calibration_file(struct hal_port_state * ps)
{
int i;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment