Skip to content

Commit

Permalink
Updated firmware
Browse files Browse the repository at this point in the history
  • Loading branch information
siliconwitch committed Jan 8, 2025
1 parent b224c0e commit 8eaf8f8
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Binary file removed assets/frame-firmware-v24.310.0800.zip
Binary file not shown.
Binary file added assets/frame-firmware-v25.008.1013.zip
Binary file not shown.
4 changes: 2 additions & 2 deletions assets/lua_scripts/main.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require("graphics")
require("state")

SCRIPT_VERSION = "v1.0.0"
SCRIPT_VERSION = "v1.0.1"

local graphics = Graphics.new()
local state = State.new()
Expand Down Expand Up @@ -108,7 +108,7 @@ while true do
image_taken = true
end

if state:has_been() > 1.4 and image_data_sent == false then
if state:has_been() > 1.4 and frame.camera.image_ready() and image_data_sent == false then
while true do
local image_data = frame.camera.read(frame.bluetooth.max_length() - 1)
if (image_data == nil) then
Expand Down
4 changes: 2 additions & 2 deletions lib/models/app_logic_model.dart
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ import 'package:shared_preferences/shared_preferences.dart';
final _log = Logger("App logic");

// NOTE Update these when changing firmware or scripts
const _firmwareVersion = "v24.310.0800";
const _scriptVersion = "v1.0.0";
const _firmwareVersion = "v25.008.1013";
const _scriptVersion = "v1.0.1";

enum State {
getUserSettings,
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: noa
description: "A new Flutter project."
publish_to: 'none'
version: 1.5.2
version: 1.6.0

environment:
sdk: '>=3.3.1 <4.0.0'
Expand Down

0 comments on commit 8eaf8f8

Please sign in to comment.