mirror of
https://github.com/apache/nuttx.git
synced 2026-06-08 09:51:56 +08:00
stm32wl5: fix unbuffered mode and other possible bugs
This patch fixes unbuffered mode so it actually works. Also, patch contains fixes for possible bugs that could result in deadlock or system hang in certain situations. Signed-off-by: Michał Łyszczek <michal.lyszczek@bofc.pl>
This commit is contained in:
committed by
Xiang Xiao
parent
3e43128f07
commit
4e967c67b4
@@ -114,8 +114,10 @@ struct ipcc_ops_s
|
||||
*
|
||||
**************************************************************************/
|
||||
|
||||
#ifdef CONFIG_IPCC_BUFFERED
|
||||
CODE ssize_t (*buffer_data)(FAR struct ipcc_lower_s *ipcc,
|
||||
FAR struct circbuf_s *rxbuf);
|
||||
#endif
|
||||
|
||||
/**************************************************************************
|
||||
* Name: write_notify
|
||||
@@ -133,7 +135,9 @@ struct ipcc_ops_s
|
||||
*
|
||||
**************************************************************************/
|
||||
|
||||
#ifdef CONFIG_IPCC_BUFFERED
|
||||
CODE ssize_t (*write_notify)(FAR struct ipcc_lower_s *ipcc);
|
||||
#endif
|
||||
|
||||
/**************************************************************************
|
||||
* Name: cleanup
|
||||
|
||||
Reference in New Issue
Block a user