Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mongoose
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
esp
mongoose
Commits
9a8a6b53
Commit
9a8a6b53
authored
8 years ago
by
Deomid Ryabkov
Committed by
Cesanta Bot
8 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor fix to the LPC example
PUBLISHED_FROM=3a99921093957c2ba9c1a0938fa00b3a29784d81
parent
84132b7b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
main.c
...088/LPCXpresso/Mongoose_LPC4088_QSB_BM/example/src/main.c
+2
-1
No files found.
examples/NXP_LPC4088/LPCXpresso/Mongoose_LPC4088_QSB_BM/example/src/main.c
View file @
9a8a6b53
...
...
@@ -88,12 +88,13 @@ void handle_eth(struct netif *eth_if) {
printf
(
"Link up
\r\n
"
);
}
else
{
Board_LED_Set
(
0
,
false
);
Board_LED_Set
(
1
,
false
);
netif_set_link_down
(
eth_if
);
printf
(
"Link down
\r\n
"
);
}
}
Board_LED_Set
(
1
,
(
eth_if
->
dhcp
->
state
==
DHCP_BOUND
));
/* Handle packets as part of this loop, not in the IRQ handler */
lpc_enetif_input
(
eth_if
);
...
...
This diff is collapsed.
Click to expand it.
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