Skip to content

Commit

Permalink
Removing the bus->end call in the Begin method, this caused some micr…
Browse files Browse the repository at this point in the history
…ocontrollers to lock up.
  • Loading branch information
flybrianfly committed Feb 1, 2023
1 parent f257e97 commit dff1f4b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

## v6.0.6
- Removing the bus->end call in the Begin method, this caused some microcontrollers to lock up.

## v6.0.5
- Updated core to v3.1.3

Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ if (DEFINED MCU)
set(CMAKE_TOOLCHAIN_FILE "${mcu_support_SOURCE_DIR}/cmake/cortex.cmake")
# Project information
project(Ublox
VERSION 6.0.5
VERSION 6.0.6
DESCRIPTION "uBlox UBX sensor driver"
LANGUAGES CXX
)
Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=Bolder Flight Systems UBLOX
version=6.0.5
version=6.0.6
author=Brian Taylor <[email protected]>
maintainer=Brian Taylor <[email protected]>
sentence=Library for communicating with uBlox GPS receivers.
Expand Down
1 change: 0 additions & 1 deletion src/ubx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ void Ubx::Config(HardwareSerial* bus) {
bus_ = bus;
}
bool Ubx::Begin(int32_t baud) {
bus_->end();
bus_->begin(baud);
bus_->flush();
while (comm_timeout_count_++ < COMM_TIMEOUT_TRIES_) {
Expand Down

0 comments on commit dff1f4b

Please sign in to comment.