This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/tests/meson.build b/tests/meson.build | |
index cedb4ff1..778b3eb5 100644 | |
--- a/tests/meson.build | |
+++ b/tests/meson.build | |
@@ -31,6 +31,7 @@ test_progs = [ | |
'gem_create', | |
'gem_cs_prefetch', | |
'gem_cs_tlb', | |
+ 'gem_concurrent_all', | |
'gem_ctx_bad_destroy', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/libraries/GCS_MAVLink/GCS_Common.cpp b/libraries/GCS_MAVLink/GCS_Common.cpp | |
index 4a62a65d1f..cd21a3083b 100644 | |
--- a/libraries/GCS_MAVLink/GCS_Common.cpp | |
+++ b/libraries/GCS_MAVLink/GCS_Common.cpp | |
@@ -851,10 +851,6 @@ void GCS_MAVLINK::packetReceived(const mavlink_status_t &status, | |
if (msg_snoop != nullptr) { | |
msg_snoop(&msg); | |
} | |
- if (routing.check_and_forward(chan, &msg) && | |
- accept_packet(status, msg)) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import sys | |
class arridx1: | |
def __init__(self, arr): | |
self.arr = arr | |
def next(self, idx): | |
return self.arr[idx - 1] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdarg.h> | |
#include <stdio.h> | |
#include <inttypes.h> | |
#define LOG_ERR "<1>" | |
#define LOG_WARN "<2>" | |
#define LOG_INFO "<3>" | |
#define LOG_DEBUG "<4>" | |
#if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# run this script on the target disk after dd'ing the image there | |
# it only works when the root partition is the last one | |
disk=$1 | |
ROOT_PARTITION_X86_64="F68BCE3-E8CD-4DB1-96E7-FBCAF984B709" | |
sfdisk --dump $disk | sed "/$ROOT_PARTITION_X86_64/s/[[:space:]]*size=[[:space:]]*[^,]*,//" | \ | |
sfdisk $disk |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/libraries/AP_SBusOut/AP_SBusOut.h b/libraries/AP_SBusOut/AP_SBusOut.h | |
index 9e0de771b1..a30f8eaf86 100644 | |
--- a/libraries/AP_SBusOut/AP_SBusOut.h | |
+++ b/libraries/AP_SBusOut/AP_SBusOut.h | |
@@ -15,9 +15,7 @@ class AP_SBusOut { | |
public: | |
static const struct AP_Param::GroupInfo var_info[]; | |
- static AP_SBusOut create() { | |
- return AP_SBusOut{}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <string.h> | |
// Defining NEW to 1 will trigger the new method of allocating objects | |
// statically | |
//#define NEW 1 | |
#define COPY_ERROR 0 | |
class A { | |
public: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <inttypes.h> | |
#include <stdlib.h> | |
#include <stdio.h> | |
//#define NEW 1 | |
#if NEW | |
namespace ap { | |
static void *operator_new(size_t size) | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Tools/ardupilotwaf/cxx_checks.py b/Tools/ardupilotwaf/cxx_checks.py | |
index 8a86621..bdc6d2e 100644 | |
--- a/Tools/ardupilotwaf/cxx_checks.py | |
+++ b/Tools/ardupilotwaf/cxx_checks.py | |
@@ -193,6 +193,9 @@ def check_package(cfg, env, libname): | |
cfg.env.revert() | |
+ if ret: | |
+ cfg.define('HAVE_' + capsname.replace('-', '_'), 1) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/tmp/mavlink/ | |
├── ardupilotmega | |
│ ├── ardupilotmega.h | |
│ ├── mavlink.h | |
│ ├── mavlink_msg_ahrs2.h | |
│ ├── mavlink_msg_ahrs3.h | |
│ ├── mavlink_msg_ahrs.h | |
│ ├── mavlink_msg_airspeed_autocal.h | |
│ ├── mavlink_msg_ap_adc.h | |
│ ├── mavlink_msg_autopilot_version_request.h |