We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4102435 commit 2c42af5Copy full SHA for 2c42af5
pslab-core.X/instruments/oscilloscope.c
@@ -117,7 +117,7 @@ response_t OSCILLOSCOPE_GetCaptureStatus(void) {
117
118
response_t OSCILLOSCOPE_ConfigureTrigger(void) {
119
uint8_t config = UART1_Read();
120
- SetTRIGGER_CHANNEL(config & 0x03);
+ SetTRIGGER_CHANNEL(config & 0x0F);
121
SetTRIGGER_PRESCALER(config >> 4);
122
SetTRIGGER_LEVEL(UART1_ReadInt());
123
return SUCCESS;
0 commit comments