mirror of
https://github.com/apache/nuttx.git
synced 2026-10-12 16:50:21 +00: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:
parent
3e43128f07
commit
4e967c67b4
5 changed files with 101 additions and 33 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue