Added datap_fc code to adis.c