Result:

p0571

Generic
Type:
    Powertrain - Vehicle Speed, Idle Control, and Auxiliary Inputs - ISO/SAE Controlled
Description:
    Brake Switch "A" Circuit

GM
Type:
    Powertrain - Vehicle Speed, Idle Control, and Auxiliary Inputs - ISO/SAE Controlled
Description:
    Cruise/Brake Switch Circuit Conditions
Cause:
    Key on or engine running, then the PCM detected that the TCC and Stop/Lamp/Cruise Brake Switch inputs disagreed for 10 consecutive minutes, or the TCC and Cruise Brake Switches were not toggled open and closed during 6 brake applications on a trip

Look for code