/*
- * Copyright (C) 2012-2013 Czech Technical University in Prague
+ * Copyright (C) 2012-2013, 2015 Czech Technical University in Prague
*
* Created on: 28.2.2013
*
#include "rpp/rpp.h"
#include "sys/sys.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);
- rpp_gio_set_val(DIO_PIN_NAME_LIN1NSLP, 1);
+ rpp_gio_set(PIN_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);
- rpp_gio_set_val(DIO_PIN_NAME_LIN1NSLP, 0);
+ rpp_gio_set(PIN_LIN1NSLP, 0);
return 0;
}