Changes it so BOTH paddles need to be clicked to transmit.

This commit is contained in:
Michael Colton 2016-11-17 22:45:55 -07:00
parent e4dabf0ef2
commit 2a0a65cff1
3 changed files with 4175 additions and 4173 deletions

File diff suppressed because it is too large Load diff

View file

@ -1120,7 +1120,7 @@ setFreq(vfoAFrequency);
HAL_GPIO_WritePin(RED_LED.port, RED_LED.pin, HAL_GPIO_ReadPin(GPS_PPS.port, GPS_PPS.pin));
if(!HAL_GPIO_ReadPin(PADDLE_THUMB_NO.port, PADDLE_THUMB_NO.pin))
if(!HAL_GPIO_ReadPin(PADDLE_THUMB_NO.port, PADDLE_THUMB_NO.pin) && !HAL_GPIO_ReadPin(PADDLE_INDEX_NO.port, PADDLE_INDEX_NO.pin))
//if(1) //I am locking it in transmit for some testing.
{
transmitting = 1;