- fix Togglestereo so it works for the right device
This commit is contained in:
@@ -82,7 +82,7 @@ void fm_task(){
|
||||
}
|
||||
|
||||
//debugg functions
|
||||
void toggleStereo(){
|
||||
void toggleStereo(int device){
|
||||
isStereo = !isStereo;
|
||||
KT0803_setMono(&kt0803, isStereo);
|
||||
KT0803_setMono(&kt0803[device], isStereo);
|
||||
}
|
@@ -3,5 +3,5 @@ void fm_task(void);
|
||||
bool catch_radio(int device);
|
||||
|
||||
// debug functions
|
||||
void toggleStereo(void);
|
||||
void toggleStereo(int device);
|
||||
|
||||
|
Reference in New Issue
Block a user