    delay(500UL);
 
    // set freq and tones
-   dra.setFreq(TXFREQ,RXFREQ);
-   dra.setTXCTCSS(TXCTCSS);
-   dra.setSquelch(SQUELCH);
-   dra.setRXCTCSS(RXCTCSS);
+   dra.setFreq(txfreq,rxfreq);
+   dra.setTXCTCSS(txctcss);
+   dra.setSquelch(squelch);
+   dra.setRXCTCSS(rxctcss);
    dra.setBW(BW); // 0 = 12.5k, 1 = 25k
 
    char fbuf[12] ;
    if ( dra.writeFreq() ) {
-       dtostrf(TXFREQ, 8, 4, fbuf) ;
+       dtostrf(txfreq, 8, 4, fbuf) ;
        sprintf(buf,"Freq TX:%s",fbuf) ;
        mylog.send(buf);
-       dtostrf(RXFREQ, 8, 4, fbuf) ;
+       dtostrf(rxfreq, 8, 4, fbuf) ;
        sprintf(buf,"Freq RX:%s",fbuf) ;
        mylog.send(buf);
     } else {

#include "Log.h"
#include "SD.h"

#define VERSION "Beta-0.999k"
#define ADC_REFERENCE REF_5V
#define DEBUG_APRS_SETTINGS false


   File configFile  = SD.open(fname) ; 

   if (! configFile) {
       mylog.send(F("no cfg file")) ; 
       delay(1000) ;
       exit(0) ;
   }

   if (!readConfig(&configFile) )  {
       mylog.send(F("cfg read fail")) ; 
       delay(1000) ;
       exit(0) ;
   }
