Skip to content

Commit

Permalink
Pixie_Reorg
Browse files Browse the repository at this point in the history
  • Loading branch information
lu7did committed May 16, 2020
1 parent 789cbe9 commit a9298e6
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/OT/OT.h
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
#define GPIO_LEFT 13
#define GPIO_RIGHT 15
#define GPIO_KEYER 16
#define GPIO_COOLER 19
#define GPIO_COOLER 24
#define GPIO_AUX 20
#define GPIO_PA 21
#define GPIO_CLK 17
Expand Down
13 changes: 13 additions & 0 deletions src/lib/genVFO.h
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,8 @@ class genVFO

void setStep(byte v,byte s);
void setStep(byte s);
byte getStep(byte v);
byte getStep();

void vfo2str(byte v,char* b);
void code2mode(byte m,char* s);
Expand Down Expand Up @@ -429,6 +431,17 @@ byte S=0x00;
//*---------------------------------------------------------------------------------------------------
//* CLASS Implementation
//*---------------------------------------------------------------------------------------------------
byte genVFO::getStep(byte v) {
if (v!=VFOA && v!=VFOB) {
return 3;
}
return step[v];
}
//*-------
byte genVFO::getStep(){
return this->getStep(this->vfo);
}
//*-------
void genVFO::setStep(byte v, byte s) {
byte S=0x00;

Expand Down

0 comments on commit a9298e6

Please sign in to comment.