int str9xpec_set_instr(jtag_tap_t *tap, uint32_t new_instr, tap_state_t end_state)
{
- if( tap == NULL ){
+ if ( tap == NULL ){
return ERROR_TARGET_INVALID;
}
/* last bank: 0xFF signals a full device protect */
if (last == 0xFF)
{
- if( set )
+ if ( set )
{
status = str9xpec_lock_device(bank);
}
{
for (i = first; i <= last; i++)
{
- if( set )
+ if ( set )
buf_set_u32(str9xpec_info->options, str9xpec_info->sector_bits[i], 1, 1);
else
buf_set_u32(str9xpec_info->options, str9xpec_info->sector_bits[i], 1, 0);