WIP: GB3DL #3

Draft
jimzah wants to merge 7 commits from GB3DL into main
2 changed files with 13 additions and 12 deletions
Showing only changes of commit c8d544cbeb - Show all commits

View File

@ -84,7 +84,7 @@ void loop() {
if (myrpt->state == HANG && TAILPIPS) {
if (millis() - myrpt->tail >= TAIL_PIP_DELAY && !busy(myrpt)) {
myrpt->tail = millis();
tone(PIP, TAILPIP_PITCH, myrpt->params.pip_length);
tone(PIP, TAILPIP_PITCH, TAIL_LEN);
}
}

View File

@ -19,20 +19,20 @@ uint8_t io[6][2] = {
};
/* CW ID SETTINGS */
#define ID "GB3DL"
#define CW_SPEED 22
#define CW_PITCH 1375
#define ID "GB3DL H"
#define CW_SPEED 20
#define CW_PITCH 1000
/* PARAMS */
#define COURTESY TONE
#define CLOSEDOWN 0
#define GWPIPLEN 1200 / CW_SPEED
#define GWPIPLEN 150
#define PIP_LETTER 'E'
#define PIP_GW_LETTER 'T'
#define RFPIP 1245
#define RFPIPLEN 1200 / CW_SPEED
#define RFPIP CW_PITCH
#define RFPIPLEN 300
#define START 0
#define TAILPIPS false
#define TAILPIPS true
#define TAILPIP_PITCH CW_PITCH
/* SERIAL */
@ -40,12 +40,13 @@ uint8_t io[6][2] = {
#define SERIAL_SPEED 115200
/* TIMERS */
#define HANGTIME 2000
#define KEYCHUNK_TIME 750
#define HANGTIME 7000
#define KEYCHUNK_TIME 1500
#define TOTIME 300000
#define IDTIME 300000
#define IDTIME 500000
#define LAST_ID_HOLD 60000
#define PIP_KEYCHUNK 1000
#define TAIL_PIP_DELAY 3000
#define TAIL_PIP_DELAY 2500
#define TAIL_LEN 300
#endif