Biffer buffers, more aggressive tests
This commit is contained in:
@@ -239,11 +239,11 @@ static void start_ping_rate(const responder& resp, uint16_t target,
|
||||
}
|
||||
|
||||
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) {
|
||||
start_ping_rate(resp, 1024, 1024, 2);
|
||||
start_ping_rate(resp, 2048, 1024, 8);
|
||||
}
|
||||
|
||||
using sync_test_fn = ResponseTest (*)(const responder&);
|
||||
|
||||
@@ -625,8 +625,8 @@ void init_spi() {
|
||||
|
||||
void init() {
|
||||
pio_frame_end();
|
||||
std::array<uint8_t, 8> txsize = {4, 4, 4, 4, 4, 4, 4, 4};
|
||||
std::array<uint8_t, 8> rxsize = {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 = {32, 0, 0, 0, 0, 0, 0, 0};
|
||||
init_buffers(txsize, rxsize);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user