[hal] Rename SimDevice constants to all caps

Also use enum class for SimDevice C++ wrapper.
This commit is contained in:
Peter Johnson
2026-03-14 12:57:37 -07:00
parent 70f77a1f8e
commit aad08b9ad1
29 changed files with 145 additions and 131 deletions

View File

@@ -133,13 +133,13 @@ void HALSimWSProviderSimDevice::OnValueCreated(const char* name,
const char* prefix = "";
if (name[0] != '<' && name[0] != '>') {
switch (direction) {
case HAL_SimValueInput:
case HAL_SIM_VALUE_INPUT:
prefix = ">";
break;
case HAL_SimValueOutput:
case HAL_SIM_VALUE_OUTPUT:
prefix = "<";
break;
case HAL_SimValueBidir:
case HAL_SIM_VALUE_BIDIR:
prefix = "<>";
break;
default: