DTC P1780: O/D Off Switch Malfunction: Description
WARNING: This page is about a different car, the 2002 Mazda 626 and 2001 Mazda 626. However, it is still accessible from the selected car via links, so may be relevant.
DTC P1780 is set when PCM detects O/D OFF switch status did not change during KOER self test.