Revision 297
chat working
interrupts_func.c | ||
---|---|---|
49 | 49 |
NULL, |
50 | 50 |
NULL, |
51 | 51 |
}; |
52 |
|
|
52 |
/* |
|
53 | 53 |
static void process_received(const uint8_t *p, const size_t sz){ |
54 | 54 |
void *q = NULL; |
55 | 55 |
hltp_type t = hltp_interpret(p, sz, &q); |
... | ... | |
61 | 61 |
default: break; |
62 | 62 |
} |
63 | 63 |
} |
64 |
|
|
64 |
*/ |
|
65 | 65 |
int (subscribe_all)(void) { |
66 | 66 |
|
67 | 67 |
/// Timer interrupt handling |
... | ... | |
123 | 123 |
return SBCR_ERROR; |
124 | 124 |
} |
125 | 125 |
uart_subscribed = 1; |
126 |
nctp_init(process_received);
|
|
126 |
nctp_init(); |
|
127 | 127 |
|
128 | 128 |
return SUCCESS; |
129 | 129 |
} |
Also available in: Unified diff