Skip to content

Commit 4f41d78

Browse files
authored
Merge pull request contiki-ng#1474 from atiselsts/fix/native
native platform minor changes
2 parents 6b63db0 + d50172f commit 4f41d78

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

arch/platform/native/Makefile.native

-2
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ endif
2222

2323
CONTIKI_SOURCEFILES += $(CONTIKI_TARGET_SOURCEFILES)
2424

25-
CFLAGS += -Wno-stringop-truncation
26-
2725
.SUFFIXES:
2826

2927
# Enable nullmac by default

arch/platform/native/platform.c

+2
Original file line numberDiff line numberDiff line change
@@ -263,9 +263,11 @@ platform_init_stage_two()
263263
set_lladdr();
264264
serial_line_init();
265265

266+
#if SELECT_STDIN
266267
if(NULL == input_handler) {
267268
native_uart_set_input(serial_line_input_byte);
268269
}
270+
#endif
269271
}
270272
/*---------------------------------------------------------------------------*/
271273
void

0 commit comments

Comments
 (0)