Commit 0a952adb authored by Yann Garcia's avatar Yann Garcia
Browse files

Bug fixed in _leap_delay_us default value

parent efb3c652
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -24,7 +24,7 @@ geonetworking_layer::geonetworking_layer(const std::string &p_type, const std::s
    _tsb_packet(nullptr), _uni_packet(nullptr), _ls_reply(nullptr), _location_table(),
    _pass_beacon_table(), _device_mode{false}, _secured_mode{false}, _beacon_secured_mode{false}, _encrypted_mode{false}, _enable_security_checks{false},
    _sendData(), _timerid{0}, _sev{0}, _its{0}, _freq_nanosecs(0), _mask{0}, _sa{0}, _sequence_number{0}, _latitude{0}, _longitude{0}, _force_certificate{false},
    _leap_delay_us(5000/*Add 5 leap seconds (to ITS time) to convert to TAI (as Sept. 2024)*/) {
    _leap_delay_us(5000000/*Add 5 leap seconds (to ITS time) to convert to TAI (as Sept. 2024)*/) {
  loggers::get_instance().log(">>> geonetworking_layer::geonetworking_layer: %s, %s", to_string().c_str(), p_param.c_str());

  init(p_type, p_param);
Compare 05ad5fcc to 696185fd
Original line number Diff line number Diff line
Subproject commit 05ad5fcc848e42fdc5acfbc1920a10d6e230fd6c
Subproject commit 696185fd5af5d7dee72f56a3430292c14830b848
Compare 9abde43a to 6c794887
Original line number Diff line number Diff line
Subproject commit 9abde43aa8ba48180646de7e4e5b11ca3b5d6929
Subproject commit 6c7948875a0f2124aed399cc46e647509c9103f8