Allow resetting counter decoder on both edges #109
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Previously, counter reset could only be performed on the riser OR falling edge. After this change, it is possible to reset it on both.
New
![Pulseview counter reset on both edges](https://private-user-images.githubusercontent.com/16807587/289088842-eba82a02-baca-479a-b587-4f1b0353cd6f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjYwMjEzNzAsIm5iZiI6MTcyNjAyMTA3MCwicGF0aCI6Ii8xNjgwNzU4Ny8yODkwODg4NDItZWJhODJhMDItYmFjYS00NzlhLWI1ODctNGYxYjAzNTNjZDZmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTExVDAyMTc1MFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWI5ZGZkYzkyNDYwOTc1NjQwYmEwYjE1YWI4YzU2ODJmNjgwYzVmYTEwMGZjNWZmMDg1YzBjYzRlYzdhODJkMGMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.Z5vddRNXIOvY7bWwognPOo8b3f_Nhct0FVmBhtj9iOA)
Before
![Pulseview counter reset original](https://private-user-images.githubusercontent.com/16807587/289088746-3d736804-b34b-40b1-baac-800f8402dc82.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjYwMjEzNzAsIm5iZiI6MTcyNjAyMTA3MCwicGF0aCI6Ii8xNjgwNzU4Ny8yODkwODg3NDYtM2Q3MzY4MDQtYjM0Yi00MGIxLWJhYWMtODAwZjg0MDJkYzgyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTExVDAyMTc1MFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTk3MzkxM2Y0YjFjYThiN2VmYWJkMTU2Y2JmMGY1MWE0MTVkNDUzMWM2NDYwOTc4N2I2ZWMzMWE4MGM4ZTc5ZGEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.vqLcc7wCT_0UHFjX6jwzDq0iPVuKTXJFayLmc5joUXk)