mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
apps: Fix minor issues for latest toolchains
- crypto/mbedtls: Add -Wno-cpp flag to suppress warnings - interpreters/quickjs: Add flags to suppress warnings - lte/alt1250: Fix spelling issues in comments - system/dd: Add missing includes for modern compilers - system/zlib: Add -Wno-cpp flag - testing/cxx: Include missing algorithm header Signed-off-by: Bartosz <bartol2205@gmail.com>
This commit is contained in:
parent
715da6bde6
commit
f09d0b2e09
7 changed files with 22 additions and 9 deletions
|
|
@ -123,7 +123,7 @@ int altdevice_send_command(FAR struct alt1250_s *dev, int fd,
|
|||
}
|
||||
else
|
||||
{
|
||||
/* In case of send successed */
|
||||
/* In case of send succeeded */
|
||||
|
||||
ret = container->outparam ? REP_NO_ACK_WOFREE : REP_NO_ACK;
|
||||
}
|
||||
|
|
@ -173,7 +173,7 @@ int altdevice_seteventbuff(int fd, FAR struct alt_evtbuffer_s *buffer)
|
|||
****************************************************************************/
|
||||
|
||||
int altdevice_getevent(int fd, FAR uint64_t *evtbitmap,
|
||||
FAR struct alt_container_s **replys)
|
||||
FAR struct alt_container_s **replies)
|
||||
{
|
||||
int ret = -EIO;
|
||||
struct alt_readdata_s dat;
|
||||
|
|
@ -183,7 +183,7 @@ int altdevice_getevent(int fd, FAR uint64_t *evtbitmap,
|
|||
{
|
||||
ret = OK;
|
||||
*evtbitmap = dat.evtbitmap;
|
||||
*replys = dat.head;
|
||||
*replies = dat.head;
|
||||
}
|
||||
|
||||
return ret;
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
*
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef __APSS_LTE_ALT1250_ALT1250_DEVIF_H
|
||||
#ifndef __APPS_LTE_ALT1250_ALT1250_DEVIF_H
|
||||
#define __APPS_LTE_ALT1250_ALT1250_DEVIF_H
|
||||
|
||||
/****************************************************************************
|
||||
|
|
@ -48,7 +48,7 @@ int altdevice_send_command(FAR struct alt1250_s *dev, int fd,
|
|||
int altdevice_powercontrol(int fd, uint32_t cmd);
|
||||
int altdevice_seteventbuff(int fd, FAR struct alt_evtbuffer_s *buffers);
|
||||
int altdevice_getevent(int fd, FAR uint64_t *evtbitmap,
|
||||
FAR struct alt_container_s **replys);
|
||||
FAR struct alt_container_s **replies);
|
||||
void altdevice_reset(int fd);
|
||||
#ifdef CONFIG_LTE_ALT1250_ENABLE_HIBERNATION_MODE
|
||||
int altdevice_powerresponse(int fd, uint32_t cmd, int resp);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue