Skip to content

Commit

Permalink
No need limit to 50 since we moved to min 16ms send times. (#1583)
Browse files Browse the repository at this point in the history
  • Loading branch information
iNetro authored Nov 16, 2023
1 parent aeb607e commit 10f6600
Show file tree
Hide file tree
Showing 2 changed files with 465 additions and 1 deletion.
2 changes: 1 addition & 1 deletion firmware/application/apps/ble_tx_app.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ void BLETxView::on_file_changed(const fs::path& new_file_path) {

// Verify Data.
if ((macAddressSize == mac_address_size_str) && (advertisementDataSize < max_packet_size_str) && (packetCountSize < max_packet_repeat_str) &&
hasValidHexPairs(packets[num_packets].macAddress, macAddressSize / 2) && hasValidHexPairs(packets[num_packets].advertisementData, advertisementDataSize / 2) && (packets[num_packets].packet_count >= 50) && (packets[num_packets].packet_count < max_packet_repeat_count)) {
hasValidHexPairs(packets[num_packets].macAddress, macAddressSize / 2) && hasValidHexPairs(packets[num_packets].advertisementData, advertisementDataSize / 2) && (packets[num_packets].packet_count >= 1) && (packets[num_packets].packet_count < max_packet_repeat_count)) {
text_filename.set(truncate(file_path.filename().string(), 12));

} else {
Expand Down
Loading

0 comments on commit 10f6600

Please sign in to comment.