HACK: let the gNB compile again

This is messy, sorry. I don't have time to cleanup
cmake_targets/CMakeLists.txt.
This commit is contained in:
Cedric Roux
2020-11-26 11:53:22 +01:00
parent 25ab3a5ed3
commit 2c9d1b9d84
+10
View File
@@ -923,3 +923,13 @@ void nr_rlc_tick(int frame, int subframe)
nr_rlc_current_time++;
}
}
/* This is a hack, to compile the gNB.
* TODO: remove it. The solution is to cleanup cmake_targets/CMakeLists.txt
*/
void rlc_tick(int a, int b)
{
LOG_E(RLC, "%s:%d:%s: this code should not be reached\n",
__FILE__, __LINE__, __FUNCTION__);
exit(1);
}