Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
RIOT
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cm-projects
RIOT
Commits
47aa7b4b
Commit
47aa7b4b
authored
11 years ago
by
Ludwig Knüpfer
Browse files
Options
Downloads
Patches
Plain Diff
reflect the original intent of the unused ignore_add parameter
parent
5ede3a82
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
sys/transceiver/transceiver.c
+3
-3
3 additions, 3 deletions
sys/transceiver/transceiver.c
with
3 additions
and
3 deletions
sys/transceiver/transceiver.c
+
3
−
3
View file @
47aa7b4b
...
@@ -129,7 +129,7 @@ static void powerdown(transceiver_type_t t);
...
@@ -129,7 +129,7 @@ static void powerdown(transceiver_type_t t);
static
void
switch_to_rx
(
transceiver_type_t
t
);
static
void
switch_to_rx
(
transceiver_type_t
t
);
#ifdef DBG_IGNORE
#ifdef DBG_IGNORE
static
int16_t
ignore_add
(
transceiver_type_t
t
,
void
*
address
);
static
int16_t
ignore_add
(
transceiver_type_t
t
ransceiver
,
void
*
address
);
#define MAX_IGNORED_ADDR (10)
#define MAX_IGNORED_ADDR (10)
...
@@ -1008,9 +1008,9 @@ static void switch_to_rx(transceiver_type_t t)
...
@@ -1008,9 +1008,9 @@ static void switch_to_rx(transceiver_type_t t)
}
}
#ifdef DBG_IGNORE
#ifdef DBG_IGNORE
static
int16_t
ignore_add
(
transceiver_type_t
unused
,
void
*
address
)
static
int16_t
ignore_add
(
transceiver_type_t
transceiver
,
void
*
address
)
{
{
(
void
)
unused
;
(
void
)
transceiver
;
radio_address_t
addr
=
*
((
radio_address_t
*
)
address
);
radio_address_t
addr
=
*
((
radio_address_t
*
)
address
);
for
(
uint8_t
i
=
0
;
i
<
MAX_IGNORED_ADDR
;
i
++
)
{
for
(
uint8_t
i
=
0
;
i
<
MAX_IGNORED_ADDR
;
i
++
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment