Conditions for Setting the DTC: P0724
WARNING: This page is about a different car, the 2008 GMC Sierra and 2008 Chevrolet Silverado. However, it is still accessible from the selected car via links, so may be relevant.
The TCM detects the brake switch circuit is open during accelerations.