canfestival/config_utils.py
changeset 1847 6198190bc121
parent 1834 cd42b426028b
child 1881 091005ec69c4
--- a/canfestival/config_utils.py	Tue Oct 03 16:31:31 2017 +0300
+++ b/canfestival/config_utils.py	Thu Oct 05 16:38:49 2017 +0300
@@ -149,7 +149,7 @@
         # Disable Mapping
         dcfdata += [LE_to_BE(idx + 0x200, 2) + LE_to_BE(0x00, 1) + LE_to_BE(0x01, 4) + LE_to_BE(0x00, 1)]
         # Map Variables
-        for subindex, (name, loc_infos) in enumerate(pdomapping):
+        for subindex, (_name, loc_infos) in enumerate(pdomapping):
             value = (loc_infos["index"] << 16) + (loc_infos["subindex"] << 8) + loc_infos["size"]
             dcfdata += [LE_to_BE(idx + 0x200, 2) + LE_to_BE(subindex + 1, 1) + LE_to_BE(0x04, 4) + LE_to_BE(value, 4)]
         # Re-enable Mapping