Glucose-6-phosphate dehydrogenase increases Ca2+ currents by interacting with Cav1.2 and reducing intrinsic inactivation of the L-type calcium channel.