mirror of
https://github.com/clockworkpi/PicoCalc.git
synced 2026-09-05 21:54:40 +02:00
Fix CKS Potential Bug
This commit is contained in:
@@ -602,6 +602,7 @@ void setup() {
|
||||
//hp headphone
|
||||
void check_hp_det(){
|
||||
int v = digitalRead(PC12);
|
||||
pinMode(PA14, OUTPUT);
|
||||
if(v == HIGH) {
|
||||
if( head_phone_status != v ) {
|
||||
Serial1.println("HeadPhone detected");
|
||||
|
||||
Reference in New Issue
Block a user