Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
White Rabbit Switch - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
86
Issues
86
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
White Rabbit Switch - Software
Commits
3bc6a027
Commit
3bc6a027
authored
Apr 14, 2023
by
Adam Wujek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
userspace/wrsw_hal: remove 2 warnings at compilation
Signed-off-by:
Adam Wujek
<
dev_public@wujek.eu
>
parent
5a5df0c8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
13 deletions
+1
-13
hal_main.c
userspace/wrsw_hal/hal_main.c
+1
-0
hal_port_fsm_tx.c
userspace/wrsw_hal/hal_port_fsm_tx.c
+0
-13
No files found.
userspace/wrsw_hal/hal_main.c
View file @
3bc6a027
...
...
@@ -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
...
...
userspace/wrsw_hal/hal_port_fsm_tx.c
View file @
3bc6a027
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment