Add debug_log, fix tx_bht (#1149)

This commit is contained in:
Kyle Reed 2023-06-12 23:14:26 -07:00 committed by GitHub
parent 3db2053c21
commit 19491ce3f7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 32 additions and 24 deletions

View file

@ -28,7 +28,9 @@ size_t gen_message_ep(uint8_t city_code, size_t family_code_ep, uint32_t relay_n
const encoder_def_t* um3750_def;
uint8_t bits[12];
std::string ep_fragments;
// char ep_message[13] = { 0 };
// Pre-allocate to avoid fragmentation.
ep_fragments.reserve(384);
// Repeated 2x 26 times
// Whole frame + space = 128ms, data only = 64ms