mirror of
https://github.com/intrepidcs/libicsneo.git
synced 2026-09-23 17:29:46 +02:00
Compare commits
2
Commits
4782e26bed
...
e37d939699
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e37d939699 | ||
|
|
2a94b4566b |
@@ -33,7 +33,8 @@ typedef struct {
|
||||
struct
|
||||
{
|
||||
uint16_t hwComLatencyTestEn : 1;
|
||||
uint16_t : 15;
|
||||
uint16_t disableUsbCheckOnBoot : 1;
|
||||
uint16_t : 14;
|
||||
} flags;
|
||||
uint16_t network_enabled_on_boot;
|
||||
CAN_SETTINGS can1;
|
||||
@@ -56,11 +57,15 @@ typedef struct {
|
||||
uint32_t pwr_man_timeout;
|
||||
uint16_t pwr_man_enable;
|
||||
ETHERNET_SETTINGS2 ethernet;
|
||||
RAD_GPTP_SETTINGS gPTP;
|
||||
uint64_t network_enables_5;
|
||||
} rada2b_settings_t;
|
||||
#pragma pack(pop)
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
static_assert(sizeof(rada2b_settings_t) == 340, "RAD-A2B settings size mismatch");
|
||||
|
||||
#include <iostream>
|
||||
|
||||
class RADA2BSettings : public IDeviceSettings {
|
||||
|
||||
@@ -20,7 +20,7 @@ public:
|
||||
return "RAD-Comet 2";
|
||||
}
|
||||
|
||||
virtual const std::vector<Network>& GetSupportedNetworks() {
|
||||
const std::vector<Network>& GetSupportedNetworks() override {
|
||||
static std::vector<Network> supportedNetworks = RADCometBase::GetSupportedNetworks();
|
||||
supportedNetworks.push_back(Network::NetID::OP_Ethernet3);
|
||||
supportedNetworks.push_back(Network::NetID::MDIO4);
|
||||
|
||||
Reference in New Issue
Block a user