Engine Performance problem
1997 BMW 318 4 cyl Two Wheel Drive Automatic
my 318 I shuts off when it reaches full operating temp. It starts and runs well until it reaches operating temp than it shuts down. I plugged in odb2 scanner and 2 codes appeared p0100 maf or vaf a circuit malfunction. Also p0340 camshaft position sensor a bank 1 circuit malfunction. I reset and waited for engine to cool but once again it shut down once it reached operating temp and codes showed again.