new pin type: sent_input_pin_e #5158

only:mre_f4
This commit is contained in:
rusefillc 2023-03-07 15:43:04 -05:00
parent c9d44c866e
commit df38869f22
2 changed files with 5 additions and 4 deletions

View File

@ -125,6 +125,7 @@ using script_setting_t = float;
using brain_input_pin_e = brain_pin_e;
using switch_input_pin_e = brain_pin_e;
using sent_input_pin_e = brain_pin_e;
using output_pin_e = brain_pin_e;
typedef void (*VoidPtr)(void*);

View File

@ -48,10 +48,10 @@ public class PinoutLogic {
return;
}
Map<String, ArrayList<String>> names = new HashMap<>();
names.put("outputs", new ArrayList<>());
names.put("analog_inputs", new ArrayList<>());
names.put("event_inputs", new ArrayList<>());
names.put("switch_inputs", new ArrayList<>());
names.put(PinType.OUTPUTS.name().toLowerCase(), new ArrayList<>());
names.put(PinType.ANALOG_INPUTS.name().toLowerCase(), new ArrayList<>());
names.put(PinType.EVENT_INPUTS.name().toLowerCase(), new ArrayList<>());
names.put(PinType.SWITCH_INPUTS.name().toLowerCase(), new ArrayList<>());
for (PinState listPin : listPins) {
String id = listPin.getId();
String className = listPin.getPinClass();