Implemented unit timed tick and uart rx timeout

This commit is contained in:
2018-01-15 15:04:09 +01:00
parent b3d1f95e7d
commit 8272a36aee
8 changed files with 69 additions and 3 deletions
+1
View File
@@ -143,6 +143,7 @@ static struct cbslot *get_slot_for_periph(void *periph)
void irqd_attach(void *periph, IrqCallback callback, void *arg)
{
struct cbslot *slot = get_slot_for_periph(periph);
assert_param(slot->callback == NULL);
slot->callback = callback;
slot->arg = arg;
}