Skip to content

Commit

Permalink
Update Hasty
Browse files Browse the repository at this point in the history
  • Loading branch information
Blue-Crescent committed Feb 15, 2024
1 parent ebc148b commit 5177d76
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/JJYReceiver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -242,13 +242,13 @@ void JJYReceiver::monitor(int pin){
monitorpin = pin;
}

void JJYReceiver::begin(){
begin(ONETIME);
}
void JJYReceiver::begin(enum updatemode){
void JJYReceiver::begin(enum MODE updatemode){
mode = updatemode;
init();
}
void JJYReceiver::begin(){
begin(ONETIME);
}

void JJYReceiver::stop(){
power(false);
Expand Down
2 changes: 1 addition & 1 deletion src/JJYReceiver.h
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ class JJYReceiver {
void delta_tick();
void clear(volatile uint8_t* sampling, int length);
void begin();
void begin(enum updatemode);
void begin(enum MODE updatemode);
void stop();
bool power(bool powerstate);
bool power();
Expand Down

0 comments on commit 5177d76

Please sign in to comment.