Skip to content

Commit

Permalink
cosmetic changes
Browse files Browse the repository at this point in the history
  • Loading branch information
dl1ycf committed Jul 25, 2019
1 parent ed67020 commit 2f4673f
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 8 deletions.
1 change: 0 additions & 1 deletion ext.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ extern int ext_noise_update(void *data);

#ifdef PURESIGNAL
extern int ext_tx_set_ps(void *data);
extern int ext_ps_twotone(void *data);
#endif

int ext_vfo_step(void *data);
Expand Down
6 changes: 2 additions & 4 deletions midi2.c
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ static enum MIDIaction keyword2action(char *s) {
*/

void MIDIstartup() {
FILE *fpin,*fpout;
FILE *fpin;
char zeile[255];
char *cp,*cq;
int key;
Expand All @@ -167,7 +167,6 @@ void MIDIstartup() {
MidiCommandsTable.pitch=NULL;

fpin=fopen("midi.inp", "r");
fpout=stderr;
if (!fpin) return;

for (;;) {
Expand Down Expand Up @@ -239,8 +238,7 @@ void MIDIstartup() {
}
if (event == EVENT_NONE || type == TYPE_NONE || key < 0 || key > 127) continue;
// Now all entries of the line have been read. Construct descriptor
fprintf(fpout,"K=%d C=%d T=%d E=%d A=%d OnOff=%d THRs=%d %d %d %d %d %d\n",
key,chan,type, event, action, onoff, lt3,lt2,lt1,ut1,ut2,ut3);
//fprintf(stderr,"K=%d C=%d T=%d E=%d A=%d OnOff=%d THRs=%d %d %d %d %d %d\n", key,chan,type, event, action, onoff, lt3,lt2,lt1,ut1,ut2,ut3);
desc = (struct desc *) malloc(sizeof(struct desc));
desc->next = NULL;
desc->action = action;
Expand Down
2 changes: 1 addition & 1 deletion ps_menu.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ extern void SetPSMapMode (int channel, int map);
extern void SetPSPinMode (int channel, int pin);

//
// Todo: create buttons to change these value
// Todo: create buttons to change these values
//


Expand Down
2 changes: 0 additions & 2 deletions ps_menu.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,3 @@
*/

extern void ps_menu(GtkWidget *parent);

extern void ps_twotone(int state);

0 comments on commit 2f4673f

Please sign in to comment.