Soft'N'Design Software
/
projects
/
morep.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad87965
)
wip
author
Laurent Mazet
<mazet@softndesign.org>
Mon, 24 Mar 2025 04:29:56 +0000
(
05:29
+0100)
committer
Laurent Mazet
<mazet@softndesign.org>
Mon, 24 Mar 2025 04:29:56 +0000
(
05:29
+0100)
morep.c
patch
|
blob
|
blame
|
history
diff --git
a/morep.c
b/morep.c
index 15627aee220ce4dbac7197f369401807f99643de..059d240238d7f0e531484c3d99a407d182556d86 100644
(file)
--- a/
morep.c
+++ b/
morep.c
@@
-297,7
+297,7
@@
uint8_t *MOREP_Get_Tx_Buffer (int index, int *size)
VERBOSE (morep, ERROR, PRINTF ("incorrect MOREP descriptor (%d)\n", index));
return NULL;
}
- if (
*
size) {
+ if (size) {
*size = MAX_ETHER_SIZE + 14 - 18;
}
@@
-342,7
+342,7
@@
uint8_t *MOREP_Get_Rx_Buffer (int index, int *size)
VERBOSE (morep, ERROR, PRINTF ("incorrect MOREP descriptor (%d)\n", index));
return NULL;
}
- if (
*
size) {
+ if (size) {
*size = MOREP_list[index]->rxlen;
}