Insight GUI changes:
- New target pinout widgets - Made auto-refresh of registers and GPIO pad states optional (via context menu on refresh tool button)
This commit is contained in:
@@ -602,10 +602,10 @@ namespace Targets::Microchip::Avr8
|
||||
output.emplace_back(
|
||||
*padDescriptor,
|
||||
TargetGpioPadState{
|
||||
(readGpioReg(stateRegisterDescriptor) & gpioPadDescriptor.registerMask) != 0
|
||||
.value = (readGpioReg(stateRegisterDescriptor) & gpioPadDescriptor.registerMask) != 0
|
||||
? TargetGpioPadState::State::HIGH
|
||||
: TargetGpioPadState::State::LOW,
|
||||
ddrValue
|
||||
.direction = ddrValue
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user