Skip to content

Commit

Permalink
Update net_pypilot.h
Browse files Browse the repository at this point in the history
  • Loading branch information
mgrouch authored May 10, 2023
1 parent d432a43 commit 4d9e247
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bbn_m5tough_active_boat/net_pypilot.h
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ extern "C" {

void pypilot_subscribe(NetClient& client) {
app.onAvailable(client.c, [&client]() {
while (client.c.connected() && client.c.available() > 8 /* Very important for performance and responsiveness */) {
while (client.c.connected() && client.c.available() > 12 /* Very important for performance and responsiveness */) {
bool found = pypilot_parse(client.c);
if (found) {
client.lastActivity = millis();
Expand Down

0 comments on commit 4d9e247

Please sign in to comment.