Biffer buffers, more aggressive tests

This commit is contained in:
Ian Gulliver
2026-04-11 21:32:50 +09:00
parent 59d67c740c
commit 8b69917e1d
2 changed files with 4 additions and 4 deletions

View File

@@ -239,11 +239,11 @@ static void start_ping_rate(const responder& resp, uint16_t target,
} }
static void test_ping_rate(const responder& resp) { static void test_ping_rate(const responder& resp) {
start_ping_rate(resp, 8192, 0, 2); start_ping_rate(resp, 8192, 0, 8);
} }
static void test_ping_rate_1k(const responder& resp) { static void test_ping_rate_1k(const responder& resp) {
start_ping_rate(resp, 1024, 1024, 2); start_ping_rate(resp, 2048, 1024, 8);
} }
using sync_test_fn = ResponseTest (*)(const responder&); using sync_test_fn = ResponseTest (*)(const responder&);

View File

@@ -625,8 +625,8 @@ void init_spi() {
void init() { void init() {
pio_frame_end(); pio_frame_end();
std::array<uint8_t, 8> txsize = {4, 4, 4, 4, 4, 4, 4, 4}; std::array<uint8_t, 8> txsize = {32, 0, 0, 0, 0, 0, 0, 0};
std::array<uint8_t, 8> rxsize = {4, 4, 4, 4, 4, 4, 4, 4}; std::array<uint8_t, 8> rxsize = {32, 0, 0, 0, 0, 0, 0, 0};
init_buffers(txsize, rxsize); init_buffers(txsize, rxsize);
} }