mirror of
https://github.com/eclipse/upm.git
synced 2025-03-15 04:57:30 +03:00
ublox6: Add most popular baud rates to GPS enums
Signed-off-by: deadprogram <ron@hybridgroup.com> Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
parent
e740335701
commit
40fe6654eb
@ -4,11 +4,19 @@
|
||||
|
||||
%{
|
||||
#include "ublox6.hpp"
|
||||
speed_t int_B2400 = B2400;
|
||||
speed_t int_B4800 = B4800;
|
||||
speed_t int_B9600 = B9600;
|
||||
speed_t int_B19200 = B19200;
|
||||
speed_t int_B38400 = B38400;
|
||||
%}
|
||||
|
||||
%include "ublox6.hpp"
|
||||
speed_t int_B2400 = B2400;
|
||||
speed_t int_B4800 = B4800;
|
||||
speed_t int_B9600 = B9600;
|
||||
speed_t int_B19200 = B19200;
|
||||
speed_t int_B38400 = B38400;
|
||||
|
||||
%pragma(java) jniclasscode=%{
|
||||
static {
|
||||
@ -19,4 +27,4 @@ speed_t int_B9600 = B9600;
|
||||
System.exit(1);
|
||||
}
|
||||
}
|
||||
%}
|
||||
%}
|
||||
|
@ -5,9 +5,17 @@
|
||||
|
||||
%{
|
||||
#include "ublox6.hpp"
|
||||
speed_t int_B2400 = B2400;
|
||||
speed_t int_B4800 = B4800;
|
||||
speed_t int_B9600 = B9600;
|
||||
speed_t int_B19200 = B19200;
|
||||
speed_t int_B38400 = B38400;
|
||||
%}
|
||||
|
||||
%include "ublox6.hpp"
|
||||
speed_t int_B2400 = B2400;
|
||||
speed_t int_B4800 = B4800;
|
||||
speed_t int_B9600 = B9600;
|
||||
speed_t int_B19200 = B19200;
|
||||
speed_t int_B38400 = B38400;
|
||||
%array_class(char, charArray);
|
||||
|
@ -9,9 +9,17 @@
|
||||
|
||||
%{
|
||||
#include "ublox6.hpp"
|
||||
speed_t int_B2400 = B2400;
|
||||
speed_t int_B4800 = B4800;
|
||||
speed_t int_B9600 = B9600;
|
||||
speed_t int_B19200 = B19200;
|
||||
speed_t int_B38400 = B38400;
|
||||
%}
|
||||
|
||||
%include "ublox6.hpp"
|
||||
speed_t int_B2400 = B2400;
|
||||
speed_t int_B4800 = B4800;
|
||||
speed_t int_B9600 = B9600;
|
||||
speed_t int_B19200 = B19200;
|
||||
speed_t int_B38400 = B38400;
|
||||
%array_class(char, charArray);
|
||||
|
Loading…
x
Reference in New Issue
Block a user