From bf68e5362ac89b5ecc9d0ed94297a60293af035e Mon Sep 17 00:00:00 2001 From: Vance Vagell Date: Wed, 25 Dec 2024 14:53:56 -0500 Subject: [PATCH] Forgot to update the firmware version to 4! fixed. --- .../bearconsole/CommandInterfaceESP32.java | 2 +- .../res/raw/v4_kv4p_ht_esp32_wroom_32_ino.bin | Bin 295488 -> 295488 bytes .../kv4p_ht_esp32_wroom_32.ino | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/android-src/KV4PHT/app/src/main/java/com/vagell/kv4pht/firmware/bearconsole/CommandInterfaceESP32.java b/android-src/KV4PHT/app/src/main/java/com/vagell/kv4pht/firmware/bearconsole/CommandInterfaceESP32.java index ff54170..ad9c4b3 100644 --- a/android-src/KV4PHT/app/src/main/java/com/vagell/kv4pht/firmware/bearconsole/CommandInterfaceESP32.java +++ b/android-src/KV4PHT/app/src/main/java/com/vagell/kv4pht/firmware/bearconsole/CommandInterfaceESP32.java @@ -608,7 +608,7 @@ public void flashData(byte binaryData[], int offset, int part) { } private int flash_defl_begin(int size, int compsize, int offset) { - +rd int num_blocks = (int) Math.floor((double) (compsize + (IS_STUB ? STUBLOADER_FLASH_WRITE_SIZE : FLASH_WRITE_SIZE) - 1) / (double) (IS_STUB ? STUBLOADER_FLASH_WRITE_SIZE : FLASH_WRITE_SIZE)); int erase_blocks = (int) Math.floor((double) (size + (IS_STUB ? STUBLOADER_FLASH_WRITE_SIZE : FLASH_WRITE_SIZE) - 1) / (double) (IS_STUB ? STUBLOADER_FLASH_WRITE_SIZE : FLASH_WRITE_SIZE)); // Start time diff --git a/android-src/KV4PHT/app/src/main/res/raw/v4_kv4p_ht_esp32_wroom_32_ino.bin b/android-src/KV4PHT/app/src/main/res/raw/v4_kv4p_ht_esp32_wroom_32_ino.bin index b1c494f748659edd2e00bb2a9533d1c9e6768deb..537e9bf11334609eba3beff28fae27dcc3ae0afd 100644 GIT binary patch delta 107 zcmX@mB6OfdXu<}C!vf9=lYbpyU_TkeH%ENa*^kfXDX98O*-H1sPmK0jvukqU^MK6? zjABfTCe7x|?dHskK+FWh%-hYGSzgpB`bXYUVHGtp-TmgKJ(GFk<2BxTul$$~-<@!9 Lj(`$}+KM~?>dPq( delta 107 zcmX@mB6OfdXu<}CosQG5&Qjf;@Z`t>wU94$2mICtU$5Q1+g|!Y-ZCYnJ%1+`J`dQe zz$nJVXxwbh+-}ay2*gZ4%)H&4ndL>D;xDCl-NEPG3cS|rkzd;JYeV`J#Vb|OhOCCB LZ#8<{y!pETGKVd! diff --git a/microcontroller-src/kv4p_ht_esp32_wroom_32/kv4p_ht_esp32_wroom_32.ino b/microcontroller-src/kv4p_ht_esp32_wroom_32/kv4p_ht_esp32_wroom_32.ino index 1d87ba4..e3deedd 100644 --- a/microcontroller-src/kv4p_ht_esp32_wroom_32/kv4p_ht_esp32_wroom_32.ino +++ b/microcontroller-src/kv4p_ht_esp32_wroom_32/kv4p_ht_esp32_wroom_32.ino @@ -24,7 +24,7 @@ along with this program. If not, see . #include #include -const byte FIRMWARE_VER[8] = {'0', '0', '0', '0', '0', '0', '0', '3'}; // Should be 8 characters representing a zero-padded version, like 00000001. +const byte FIRMWARE_VER[8] = {'0', '0', '0', '0', '0', '0', '0', '4'}; // Should be 8 characters representing a zero-padded version, like 00000001. const byte VERSION_PREFIX[7] = {'V', 'E', 'R', 'S', 'I', 'O', 'N'}; // Must match RadioAudioService.VERSION_PREFIX in Android app. // Commands defined here must match the Android app