asdf
This commit is contained in:
@@ -1,5 +1,4 @@
|
|||||||
{
|
{
|
||||||
"input" : {
|
|
||||||
"row": [
|
"row": [
|
||||||
{
|
{
|
||||||
"A": 15
|
"A": 15
|
||||||
@@ -24,4 +23,3 @@
|
|||||||
],
|
],
|
||||||
"data": 13
|
"data": 13
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|||||||
@@ -55,8 +55,6 @@ void InputGPIOInterface::init_members(std::istream &input_config_stream)
|
|||||||
input_config_stream >> input_config;
|
input_config_stream >> input_config;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
json matrix_config_input = input_config.at("input");
|
|
||||||
|
|
||||||
json row_json = input_config.at("row");
|
json row_json = input_config.at("row");
|
||||||
row_address_A = row_json.at("A").get<json::number_integer_t>();
|
row_address_A = row_json.at("A").get<json::number_integer_t>();
|
||||||
row_address_B = row_json.at("B").get<json::number_integer_t>();
|
row_address_B = row_json.at("B").get<json::number_integer_t>();
|
||||||
|
|||||||
Reference in New Issue
Block a user