Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Philippe Gaussier
Drone FlyMonitor2
Commits
b7d14923
Commit
b7d14923
authored
Mar 26, 2021
by
Philippe Gaussier
Browse files
code formatting change.
PG.
parent
ce5f945f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Com_server/include/Com_SerialPort.h
View file @
b7d14923
...
...
@@ -36,7 +36,6 @@
#include
<signal.h>
#include
<string>
/*
* Serial Port Class
*
...
...
@@ -74,11 +73,13 @@ public:
void
handle_quit
();
void
setUartName
(
std
::
string
new_uart_name
){
void
setUartName
(
std
::
string
new_uart_name
)
{
uart_name
=
new_uart_name
;
}
void
setBaudrate
(
int
new_baudrate
){
void
setBaudrate
(
int
new_baudrate
)
{
baudrate
=
new_baudrate
;
}
...
...
@@ -92,10 +93,6 @@ private:
bool
_setup_port
(
int
baud
);
int
_read_port
(
uint8_t
&
cp
);
int
_write_port
(
char
*
buf
,
unsigned
len
);
};
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment