[PATCH] ugps: add baud rate command line option

2022-01-16 Thread Wojciech Jowsa
currently, gps device baud rate is hardcoded so ugps might not work with devices that baud rate is configured to be different than 4800. Signed-off-by: Wojciech Jowsa --- main.c | 30 -- 1 file changed, 28 insertions(+), 2 deletions(-) diff --git a/main.c b/main.c in

[PATCH] ugps: add baud rate command line option

2022-01-16 Thread Wojciech Jowsa
currently, gps device baud rate is hardcoded so ugps might not work with devices that baud rate is configured to be different than 4800. Signed-off-by: Wojciech Jowsa --- main.c | 34 -- 1 file changed, 32 insertions(+), 2 deletions(-) diff --git a/main.c b/main.

Re: [PATCH] ugps: add baud rate command line option

2022-01-16 Thread John Crispin
Hi, thanks for the patch ! + default: + return B0; please default to B4800 and add a fprintf(stderr, ...) indicating this decision     John ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https

[PATCH] ugps: add baud rate command line option

2022-01-16 Thread Wojciech Jowsa
currently, gps device baud rate is hardcoded so ugps might not work with devices that baud rate is configured to be different than 4800. Signed-off-by: Wojciech Jowsa --- main.c | 34 -- 1 file changed, 32 insertions(+), 2 deletions(-) diff --git a/main.c b/main.