File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -107,9 +107,9 @@ int RPC::begin() {
107107 return 0 ;
108108 }
109109
110- // eventThread = new rtos::Thread(osPriorityNormal);
111- // eventThread->start(callback(&eventQueue, &events::EventQueue::dispatch_forever));
112- // ticker.attach(eventQueue.event(&OPENAMP_check_for_message), 0.01f);
110+ eventThread = new rtos::Thread (osPriorityNormal);
111+ eventThread->start (callback (&eventQueue, &events::EventQueue::dispatch_forever));
112+ ticker.attach (eventQueue.event (&OPENAMP_check_for_message), 0 .01f );
113113
114114 dispatcherThread = new rtos::Thread (osPriorityNormal);
115115 dispatcherThread->start (mbed::callback (this , &RPC::dispatch));
Original file line number Diff line number Diff line change @@ -83,7 +83,9 @@ void HAL_HSEM_FreeCallback(uint32_t SemMask)
8383 HAL_HSEM_ActivateNotification (__HAL_HSEM_SEMID_TO_MASK (HSEM_ID_0 ));
8484#endif
8585
86+ #ifdef CORE_CM7
8687 OPENAMP_check_for_message ();
88+ #endif
8789}
8890
8991/**
You can’t perform that action at this time.
0 commit comments