Skip to content

Commit

Permalink
EXAMPLES: Code review readability feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
fnoble committed Mar 24, 2015
1 parent a5df36b commit afb5ace
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ pip install libsbp
Receives SBP messages over a serial port, decodes `MSG_BASELINE` messages and
prints them out.

See the [`source code`](sbp/client/examples/simple.py)
See the [`source code`](sbp/client/examples/simple.py).

Run the example:

Expand All @@ -36,7 +36,7 @@ $ python -m sbp.client.examples.simple -p /path/to/serial/port
Receives SBP messages over a serial port and sends all incoming messages to a
UDP socket.

See the [`source code`](sbp/client/examples/udp.py)
See the [`source code`](sbp/client/examples/udp.py).

Run the example:

Expand Down
2 changes: 1 addition & 1 deletion python/sbp/client/examples/simple.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def main():
args = parser.parse_args()

# Open a connection to Piksi using the default baud rate (1Mbaud)
with PySerialDriver(args.port[0], 1000000) as driver:
with PySerialDriver(args.port[0], baud=1000000) as driver:
# Create a handler to connect our Piksi driver to our callbacks
with Handler(driver.read, driver.write, verbose=True) as handler:
# Add a callback for BASELINE_NED messages
Expand Down

0 comments on commit afb5ace

Please sign in to comment.