#include "rpp/rpp.h"
#include "sys/sys.h"
-#include "hal/hal.h"
+#include "drv/digital_io_def.h"
/** Semaphore used to stop command, until message is received */
extern xSemaphoreHandle linMsgReceived;
uint8_t rxID = 0;
linEnableLoopback(linREG, Digital);
- hal_gpio_pin_set_value(PIN_DSC_LIN1NSLP, 1);
+ rpp_gio_set_val(DIO_PIN_NAME_LIN1NSLP, 1);
linIDReceived = xSemaphoreCreateCounting(1, 0);
linMsgReceived = xSemaphoreCreateCounting(1, 0);
rpp_sci_printf("FAILED: Sent and Received ID does not match.");
vSemaphoreDelete(linIDReceived);
vSemaphoreDelete(linMsgReceived);
- hal_gpio_pin_set_value(PIN_DSC_LIN1NSLP, 0);
+ rpp_gio_set_val(DIO_PIN_NAME_LIN1NSLP, 0);
return 0;
}