From 61cfd9e195aad2b54eb719cfc763240ee211fb29 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Wed, 8 Jul 2020 13:30:23 +0200 Subject: [PATCH] can: use tabs instead of spaces for indention --- etc/examples/nodes/can.conf | 118 ++++++++++++++++++------------------ 1 file changed, 60 insertions(+), 58 deletions(-) diff --git a/etc/examples/nodes/can.conf b/etc/examples/nodes/can.conf index d0be21466..4f9ffe2cf 100644 --- a/etc/examples/nodes/can.conf +++ b/etc/examples/nodes/can.conf @@ -1,60 +1,62 @@ -logging = { - level = "debug" -}, nodes = { - can_node1 = { - type = "can", - interface_name = "vcan0", - sample_rate = 500000, - in = { - signals = ({ - name = "sigin1", - unit = "Volts", - type = "integer", - enabled = true, - can_id = 66, - can_size = 8, - can_offset = 0 - }, - { - name = "sigin2", - unit = "Volts", - type = "float", - enabled = true, - can_id = 67, - can_size = 4, - can_offset = 0 - }, - { - name = "sigin3", - unit = "Volts", - type = "integer", - enabled = true, - can_id = 66, - can_size = 4, - can_offset = 4 - }) - }, - out = { - signals = ( - { - type = "float", - can_id = 1, - can_size = 4, - can_offset = 0 - }, - { - type = "float", - can_id = 1, - can_size = 4, - can_offset = 4 - }, - { - type = "float", - can_id = 2, - can_size = 8, - can_offset = 0 - }), - } - } + can_node1 = { + type = "can" + interface_name = "vcan0" + sample_rate = 500000 + + in = { + signals = ( + { + name = "sigin1", + unit = "Volts", + type = "integer", + enabled = true, + can_id = 66, + can_size = 8, + can_offset = 0 + }, + { + name = "sigin2", + unit = "Volts", + type = "float", + enabled = true, + can_id = 67, + can_size = 4, + can_offset = 0 + }, + { + name = "sigin3", + unit = "Volts", + type = "integer", + enabled = true, + can_id = 66, + can_size = 4, + can_offset = 4 + } + ) + } + + out = { + signals = ( + { + type = "float", + can_id = 1, + can_size = 4, + can_offset = 0 + }, + { + type = "float", + can_id = 1, + can_size = 4, + can_offset = 4 + }, + { + type = "float", + can_id = 2, + can_size = 8, + can_offset = 0 + } + ) + } + } }