Fix: default value of `origin-is-unix-epoch` property is `true`
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Tue, 13 Dec 2022 17:00:21 +0000 (12:00 -0500)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Tue, 13 Dec 2022 17:00:21 +0000 (12:00 -0500)
This is what the YAML clock type object documentation says and this was
indeed my intention.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Change-Id: I35f32a04755b46e304145313fbeed598a082d924

barectf/config_parse_v3.py

index 024d75f39bfd23bcfa43633dd2adbede77fa16af..95edb3eb1f897d5c10cdb2eb0b73228b99b39cb6 100644 (file)
@@ -592,7 +592,7 @@ class _Parser(barectf_config_parse_common._Parser):
                                         clk_type_uuid, clk_type_node.get('description'),
                                         clk_type_node.get('precision', 0),
                                         barectf_config.ClockTypeOffset(offset_seconds, offset_cycles),
-                                        clk_type_node.get('origin-is-unix-epoch', False))
+                                        clk_type_node.get('origin-is-unix-epoch', True))
 
     def _create_clk_types(self):
         self._clk_types = {}
This page took 0.027426 seconds and 4 git commands to generate.