File tree 1 file changed +3
-3
lines changed
cores/arduino/stm32/OpenAMP
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ int MAILBOX_Poll(struct virtio_device *vdev, uint32_t vring_id)
119
119
* RING_NUM_BUFFS times at maximum.
120
120
*/
121
121
rproc_virtio_notified (vdev , VRING1_ID );
122
- msg_received_ch2 = RX_NO_MSG ;
122
+ msg_received_ch2 = MBOX_NO_MSG ;
123
123
ret = 0 ;
124
124
}
125
125
break ;
@@ -171,7 +171,7 @@ void IPCC_channel1_callback(IPCC_HandleTypeDef *hipcc,
171
171
uint32_t ChannelIndex , IPCC_CHANNELDirTypeDef ChannelDir )
172
172
{
173
173
(void ) ChannelDir ;
174
- msg_received_ch1 = RX_BUF_FREE ;
174
+ msg_received_ch1 = MBOX_BUF_FREE ;
175
175
176
176
/* Inform the host processor that we have received the 'buff free' msg */
177
177
HAL_IPCC_NotifyCPU (hipcc , ChannelIndex , IPCC_CHANNEL_DIR_RX );
@@ -182,7 +182,7 @@ void IPCC_channel2_callback(IPCC_HandleTypeDef *hipcc,
182
182
uint32_t ChannelIndex , IPCC_CHANNELDirTypeDef ChannelDir )
183
183
{
184
184
(void ) ChannelDir ;
185
- msg_received_ch2 = RX_NEW_MSG ;
185
+ msg_received_ch2 = MBOX_NEW_MSG ;
186
186
187
187
/* Inform the host processor that we have received the msg */
188
188
HAL_IPCC_NotifyCPU (hipcc , ChannelIndex , IPCC_CHANNEL_DIR_RX );
You can’t perform that action at this time.
0 commit comments