I'm designing a board for a DIY synth. One of the circuits consists of an audio amplifier that drives a small 1 W speaker.
The amplifier takes the signals from a Raspberry hat (a Fe-Pi Audio V2) and I want the amplifier to shut down when a headphone is connected using the switch pins and the shutdown pin on the IC, which is an LM4861
Is the pull-up resistor placed correctly for turning off the amp? Here's the schematics: