Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6941727a authored by Ilpo Järvinen's avatar Ilpo Järvinen Committed by Jeff Garzik
Browse files

hamradio/scc: add missing block braces to multi-statement if

parent 7fb1c2ac
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1340,9 +1340,10 @@ static unsigned int scc_set_param(struct scc_channel *scc, unsigned int cmd, uns
		case PARAM_RTS:	
			if ( !(scc->wreg[R5] & RTS) )
			{
				if (arg != TX_OFF)
				if (arg != TX_OFF) {
					scc_key_trx(scc, TX_ON);
					scc_start_tx_timer(scc, t_txdelay, scc->kiss.txdelay);
				}
			} else {
				if (arg == TX_OFF)
				{