parent
c9d44c866e
commit
df38869f22
|
@ -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*);
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue