shithub: jacksense

Download patch

ref: 92602a67a15f18f9b68fd4889a74251ad5d452fe
parent: 20614fd8f8ef258b5930d849d4263487daad9014
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Sun May 7 21:15:21 EDT 2023

oops

--- a/jacksense.c
+++ b/jacksense.c
@@ -63,7 +63,7 @@
 			}else if(strcmp(a[4], "int") == 0){
 				/* fallback for built-in speakers/etc */
 				lp = atoi(a[1]);
-				if(debug) fprint(2, "speaker fallback pin %d\n", sp);
+				if(debug) fprint(2, "speaker fallback pin %d\n", lp);
 			}
 		}
 	}