Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed program not reading defines.json as expected #4

Merged
merged 1 commit into from Nov 28, 2022

Conversation

SIsilicon
Copy link
Contributor

According to the README file, the following would be added to defines.json.

"flagModes": {
    "SourceInputType0": {
        "Constant": [],
        "Sampled": ["SOURCE_INPUT_0_SAMPLED"]
    },
    "SourceInputType1": {
        "Constant": [],
        "Sampled": ["SOURCE_INPUT_1_SAMPLED"]
    },
    "SourceInputType2": {
        "Constant": [],
        "Sampled": ["SOURCE_INPUT_2_SAMPLED"]
    }
}

However, the program does not properly read it. Instead, it would read something like this.

"flagModes": {
    "SourceInputType0": ["SOURCE_INPUT_0_SAMPLED"],
    "SourceInputType1": ["SOURCE_INPUT_1_SAMPLED"],
    "SourceInputType2": ["SOURCE_INPUT_2_SAMPLED"]
}

This pull request fixes that.

@ddf8196 ddf8196 merged commit 2dbd1f0 into ddf8196:main Nov 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants