Merge branch 'OpenIPC:master' into master

pull/1336/head
Petru Soroaga 2024-03-05 09:28:30 +02:00 committed by GitHub
commit e881b02b3e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 26 additions and 1 deletions

View File

@ -0,0 +1,24 @@
--- a/include/ieee80211.h 2024-01-13 12:27:46.986706761 +0300
+++ b/include/ieee80211.h 2024-01-13 12:28:06.874682036 +0300
@@ -1529,18 +1529,18 @@
(((Addr[2]) & 0xff) == 0xff) && (((Addr[3]) & 0xff) == 0xff) && (((Addr[4]) & 0xff) == 0xff) && \
(((Addr[5]) & 0xff) == 0xff))
#else
-extern __inline int is_multicast_mac_addr(const u8 *addr)
+static __inline int is_multicast_mac_addr(const u8 *addr)
{
return (addr[0] != 0xff) && (0x01 & addr[0]);
}
-extern __inline int is_broadcast_mac_addr(const u8 *addr)
+static __inline int is_broadcast_mac_addr(const u8 *addr)
{
return ((addr[0] == 0xff) && (addr[1] == 0xff) && (addr[2] == 0xff) && \
(addr[3] == 0xff) && (addr[4] == 0xff) && (addr[5] == 0xff));
}
-extern __inline int is_zero_mac_addr(const u8 *addr)
+static __inline int is_zero_mac_addr(const u8 *addr)
{
return ((addr[0] == 0x00) && (addr[1] == 0x00) && (addr[2] == 0x00) && \
(addr[3] == 0x00) && (addr[4] == 0x00) && (addr[5] == 0x00));

View File

View File

View File

View File

@ -9,7 +9,7 @@ define RUBYFPV_BUILD_CMDS
(cd $(@D); $(TARGET_CC) -s ruby_start.c -o ruby_logger)
(cd $(@D); $(TARGET_CC) -s ruby_start.c -o ruby_timeinit)
(cd $(@D); $(TARGET_CC) -s ruby_start.c -o ruby_rt_vehicle)
(cd $(@D); $(TARGET_CC) -s ruby_start.c -o ruby_tx_telementry)
(cd $(@D); $(TARGET_CC) -s ruby_start.c -o ruby_tx_telemetry)
(cd $(@D); $(TARGET_CC) -s ruby_start.c -o ruby_rx_rc)
(cd $(@D); $(TARGET_CC) -s ruby_start.c -o ruby_rx_commands)
(cd $(@D); $(TARGET_CC) -s ruby_start.c -o ruby_vehicle)

View File

@ -1,4 +1,5 @@
/etc/sensors/bt656_720p.ini
/etc/sensors/gc1054_i2c_720p.ini
/etc/sensors/gc2053_i2c_1080p.ini
/etc/sensors/gc4653_i2c_4M.ini
/etc/sensors/jxf23_i2c_1080p.ini