From fdc29cf9e9784a2b0b17c3ae45ea880aa015a719 Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Sun, 11 Jul 2021 12:41:11 -0400 Subject: [PATCH] Use singular "Id" for component enums in helper script. --- helper.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/helper.py b/helper.py index 79a0cb5d..8239928b 100755 --- a/helper.py +++ b/helper.py @@ -353,7 +353,7 @@ struct {identifier} : Module {{""" # Params source += """ - enum ParamIds {""" + enum ParamId {""" for c in components['params']: source += f""" {c['name']}_PARAM,""" @@ -363,7 +363,7 @@ struct {identifier} : Module {{""" # Inputs source += """ - enum InputIds {""" + enum InputId {""" for c in components['inputs']: source += f""" {c['name']}_INPUT,""" @@ -373,7 +373,7 @@ struct {identifier} : Module {{""" # Outputs source += """ - enum OutputIds {""" + enum OutputId {""" for c in components['outputs']: source += f""" {c['name']}_OUTPUT,""" @@ -383,7 +383,7 @@ struct {identifier} : Module {{""" # Lights source += """ - enum LightIds {""" + enum LightId {""" for c in components['lights']: source += f""" {c['name']}_LIGHT,"""