Skip to content

Commit

Permalink
Define latest variable for update check
Browse files Browse the repository at this point in the history
  • Loading branch information
hmaarrfk committed Nov 10, 2024
1 parent 437140d commit 5ff4f60
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## 0.5.0 (2024-11-10)

* Provide control over the startup and demo commands.
* Ensure that potentially undefined variable is defined.

## 0.4.0 (2024-04-05)

Expand Down
1 change: 1 addition & 0 deletions teensytoany/teensytoany.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ def list_all_serial_numbers(serial_numbers=None, *, device_name=None):
def get_latest_available_firmware_version(
*, mcu='TEENSY40', online=True, local=True, timeout=2
):
latest = None
if local:
local_versions = TeensyToAny._find_local_versions(mcu=mcu)
if len(local_versions) > 0:
Expand Down

0 comments on commit 5ff4f60

Please sign in to comment.