wrc_ptp.c: enable PPS output after successful mode setting in Master/Gm mode, added wrc_ptp_get_mode()