Skip to content

Commit 4f2344d

Browse files
committed
minor fix to the cmake files and main file
1 parent 26cc247 commit 4f2344d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ add_compile_options(
196196
$<$<COMPILE_LANG_AND_ID:C,Clang,GNU>:-Wall>
197197
$<$<COMPILE_LANG_AND_ID:C,Clang,GNU>:-Wextra>
198198
$<$<COMPILE_LANG_AND_ID:C,Clang,GNU>:-Wpedantic>
199-
##$<$<COMPILE_LANG_AND_ID:C,Clang,GNU>:-Werror>
199+
$<$<COMPILE_LANG_AND_ID:C,Clang,GNU>:-Werror>
200200
$<$<COMPILE_LANG_AND_ID:C,Clang>:-Weverything>
201201

202202
# TODO: Add in other Compilers here.

test/build-combination/Common/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ struct xNetworkInterface * pxFillInterfaceDescriptor( BaseType_t xEMACIndex,
364364
eFrameProcessingResult_t eApplicationProcessCustomFrameHook( NetworkBufferDescriptor_t * const pxNetworkBuffer )
365365
{
366366
(void) (pxNetworkBuffer);
367-
return eNetworkDownEvent;
367+
return eProcessBuffer;
368368
}
369369

370370
#endif

0 commit comments

Comments
 (0)