card_init_core1() shall be called from every thread launched on core1.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
@@ -53,6 +53,7 @@ int cbor_parse(const uint8_t *data, size_t len) {
|
|||||||
|
|
||||||
void cbor_thread() {
|
void cbor_thread() {
|
||||||
|
|
||||||
|
card_init_core1();
|
||||||
while (1) {
|
while (1) {
|
||||||
uint32_t m;
|
uint32_t m;
|
||||||
queue_remove_blocking(&usb_to_card_q, &m);
|
queue_remove_blocking(&usb_to_card_q, &m);
|
||||||
|
|||||||
Reference in New Issue
Block a user