Pack unchanged Reader text more tightly for Full firmware
This commit is contained in:
1 parent
c2998ae8d9
commit
c604a1a165
9 files changed
+2039
-2199
No files matched your search
@@ -143,7 +143,7 @@ void formatVerseReply(Selection selection, uint8_t page, const char* text,
|
||||
memcpy(reply + prefix_len + text_len, next_command, suffix_len + 1);
|
||||
}
|
||||
|
||||
// Only a recognized Reader request enters this 2 KiB decode frame. Normal
|
||||
// Only a recognized Reader request enters this 4 KiB decode frame. Normal
|
||||
// framed commands must not reserve it, including with link-time optimization.
|
||||
__attribute__((noinline)) void replyVerse(Selection selection, uint8_t page,
|
||||
char* reply, size_t capacity) {
|
||||
|
||||
+1944
-2160
File diff suppressed because it is too large.
Load diff
@@ -6,7 +6,7 @@
|
||||
|
||||
namespace mesh { namespace bible {
|
||||
|
||||
static constexpr size_t kBlockSize = 2048;
|
||||
static constexpr size_t kBlockSize = 4096;
|
||||
static constexpr uint16_t kVerseCount = 879;
|
||||
static constexpr uint8_t kChapterVerses[] = {
|
||||
51, 25, 36, 54, 47, 71, 53, 59, 41, 42, 57,
|
||||
|
||||
Reference in new issue
Block a user