Skip to content

Commit 1d44c19

Browse files
committed
Merge branch 'kv4p-203-a' into kv4p-203
2 parents b24f9ca + 1e255d8 commit 1d44c19

31 files changed

+62771
-64120
lines changed

android-src/KV4PHT/app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ android {
1010
applicationId "com.vagell.kv4pht"
1111
minSdk 26
1212
targetSdk 34
13-
versionCode 34
14-
versionName "1.7.0"
13+
versionCode 35
14+
versionName "1.7.1"
1515

1616
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
1717

android-src/KV4PHT/app/src/main/java/com/vagell/kv4pht/firmware/FirmwareUtils.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ public class FirmwareUtils {
1818
private static int progressPercent = 0;
1919

2020
// Whenever there is new firmware, put the files in res/raw, and update these constants.
21-
public static final int PACKAGED_FIRMWARE_VER = 10;
22-
private static final int FIRMWARE_FILE_1_ID = R.raw.v10_kv4p_ht_esp32_wroom_32_ino_bootloader;
23-
private static final int FIRMWARE_FILE_2_ID = R.raw.v10_kv4p_ht_esp32_wroom_32_ino_partitions;
21+
public static final int PACKAGED_FIRMWARE_VER = 11;
22+
private static final int FIRMWARE_FILE_1_ID = R.raw.v11_kv4p_ht_esp32_wroom_32_ino_bootloader;
23+
private static final int FIRMWARE_FILE_2_ID = R.raw.v11_kv4p_ht_esp32_wroom_32_ino_partitions;
2424
private static final int FIRMWARE_FILE_3_ID = R.raw.boot_app0; // This one never changes, it's the Arduino ESP32 bootloader
25-
private static final int FIRMWARE_FILE_4_ID = R.raw.v10_kv4p_ht_esp32_wroom_32_ino;
25+
private static final int FIRMWARE_FILE_4_ID = R.raw.v11_kv4p_ht_esp32_wroom_32_ino;
2626

2727
public FirmwareUtils() {
2828
}

android-src/KV4PHT/app/src/main/res/raw/v10_kv4p_ht_esp32_wroom_32_ino.bin renamed to android-src/KV4PHT/app/src/main/res/raw/v11_kv4p_ht_esp32_wroom_32_ino.bin

289 KB
Binary file not shown.

android-src/KV4PHT/app/src/main/res/raw/v10_kv4p_ht_esp32_wroom_32_ino_bootloader.bin renamed to android-src/KV4PHT/app/src/main/res/raw/v11_kv4p_ht_esp32_wroom_32_ino_bootloader.bin

File renamed without changes.

android-src/KV4PHT/app/src/main/res/raw/v10_kv4p_ht_esp32_wroom_32_ino_partitions.bin renamed to android-src/KV4PHT/app/src/main/res/raw/v11_kv4p_ht_esp32_wroom_32_ino_partitions.bin

File renamed without changes.
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"files.associations": {
33
"algorithm": "cpp"
4-
}
4+
},
5+
"C_Cpp.clang_format_style": "file:.clang-format"
56
}
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
---
2+
BasedOnStyle: LLVM
3+
AlignConsecutiveAssignments: Consecutive
4+
AlignEscapedNewlines: DontAlign
5+
AllowShortBlocksOnASingleLine: Always
6+
AllowShortCaseLabelsOnASingleLine: true
7+
AllowShortFunctionsOnASingleLine: Empty
8+
AllowShortIfStatementsOnASingleLine: AllIfsAndElse
9+
AllowShortLambdasOnASingleLine: Empty
10+
AllowShortLoopsOnASingleLine: true
11+
AlwaysBreakTemplateDeclarations: No
12+
BreakBeforeBinaryOperators: NonAssignment
13+
BreakBeforeConceptDeclarations: false
14+
BreakStringLiterals: false
15+
ColumnLimit: 0
16+
CommentPragmas: ""
17+
ConstructorInitializerIndentWidth: 2
18+
ContinuationIndentWidth: 2
19+
DerivePointerAlignment: true
20+
EmptyLineAfterAccessModifier: Leave
21+
EmptyLineBeforeAccessModifier: Leave
22+
FixNamespaceComments: false
23+
IncludeIsMainRegex: ""
24+
IndentCaseBlocks: true
25+
IndentCaseLabels: true
26+
IndentExternBlock: Indent
27+
IndentGotoLabels: false
28+
IndentRequires: true
29+
MaxEmptyLinesToKeep: 100000
30+
PenaltyBreakAssignment: 1
31+
PenaltyBreakBeforeFirstCallParameter: 1
32+
PenaltyBreakComment: 1
33+
PenaltyBreakFirstLessLess: 1
34+
PenaltyBreakOpenParenthesis: 1
35+
PenaltyBreakString: 1
36+
PenaltyBreakTemplateDeclaration: 1
37+
PenaltyExcessCharacter: 1
38+
PenaltyIndentedWhitespace: 1
39+
PenaltyReturnTypeOnItsOwnLine: 1
40+
PointerAlignment: Left
41+
ReflowComments: false
42+
ShortNamespaceLines: 0
43+
SortIncludes: Never
44+
SortUsingDeclarations: false
45+
SpaceAfterTemplateKeyword: false
46+
SpacesBeforeTrailingComments: 2
47+
SpacesInAngles: Leave
48+
SpacesInContainerLiterals: false
49+
SpacesInLineCommentPrefix:
50+
Minimum: 0
51+
Standard: Auto
52+
TabWidth: 2

0 commit comments

Comments
 (0)