mirror of
https://github.com/BotChain-Robots/firmware.git
synced 2026-07-08 17:47:21 +02:00
Fix generic UDP frame type
This commit is contained in:
@@ -62,7 +62,7 @@ typedef struct _frame_compare {
|
||||
bool operator()(const SchedulerMetadata& a, const SchedulerMetadata& b) const {
|
||||
int64_t now = esp_timer_get_time();
|
||||
double age_a = (now - a.enqueue_time_ns) / 1e6;
|
||||
double age_b = (now - a.enqueue_time_ns) / 1e6;
|
||||
double age_b = (now - b.enqueue_time_ns) / 1e6;
|
||||
|
||||
// Base priorities: lower is higher priority
|
||||
double base_a = (IS_CONTROL_FRAME(a.header.type_flag)) ? 0.0 : 10.0;
|
||||
|
||||
Reference in New Issue
Block a user