prep for #381 blocking factor

This commit is contained in:
Matthew Kennedy 2024-03-15 11:34:06 -07:00
parent 1c445843b6
commit a358aa963f
1 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,7 @@
#pragma once #pragma once
#include "efifeatures.h" #include "efifeatures.h"
#include "rusefi_generated.h"
#include "thread_priority.h" #include "thread_priority.h"
/*===========================================================================*/ /*===========================================================================*/
@ -76,7 +77,8 @@
#define PAL_USE_CALLBACKS TRUE #define PAL_USE_CALLBACKS TRUE
// USB Serial // USB Serial
#define SERIAL_USB_BUFFERS_SIZE 768 // Round up to the next multiple of 64 bytes from BLOCKING_FACTOR+10 to allow space for header/checksum
#define SERIAL_USB_BUFFERS_SIZE (((BLOCKING_FACTOR + 10) / 64) + 1) * 64
#define SERIAL_USB_BUFFERS_NUMBER 2 #define SERIAL_USB_BUFFERS_NUMBER 2
// USB Mass Storage // USB Mass Storage