Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
NuttX RTOS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
f4grx
NuttX RTOS
Commits
90b26956
Commit
90b26956
authored
11 years ago
by
Gregory Nutt
Browse files
Options
Downloads
Patches
Plain Diff
Fix some minor kernel mose NxWM build issues
parent
f51f85db
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
include/nuttx/nx/nx.h
+1
-1
1 addition, 1 deletion
include/nuttx/nx/nx.h
libc/wqueue/work_usrstart.c
+4
-6
4 additions, 6 deletions
libc/wqueue/work_usrstart.c
libnx/nxmu/nx_redrawreq.c
+2
-7
2 additions, 7 deletions
libnx/nxmu/nx_redrawreq.c
with
7 additions
and
14 deletions
include/nuttx/nx/nx.h
+
1
−
1
View file @
90b26956
...
...
@@ -294,7 +294,7 @@ int nx_runinstance(FAR const char *mqname, FAR NX_DRIVERTYPE *dev);
*
****************************************************************************/
#if defined(CONFIG_NX_MULTIUSER) && defined(CONFIG_NX_START)
#if defined(CONFIG_NX_MULTIUSER) && defined(CONFIG_NX_
NX
START)
int
nx_start
(
void
);
#endif
...
...
This diff is collapsed.
Click to expand it.
libc/wqueue/work_usrstart.c
+
4
−
6
View file @
90b26956
...
...
@@ -88,10 +88,6 @@
int
work_usrstart
(
void
)
{
int
errcode
;
DEBUGASSERT
(
g_usrwork
[
USRWORK
]
==
NULL
);
/* Start a user-mode worker thread for use by applications. */
svdbg
(
"Starting user-mode worker thread
\n
"
);
...
...
@@ -102,10 +98,12 @@ int work_usrstart(void)
(
main_t
)
work_usrthread
,
(
FAR
char
*
const
*
)
NULL
);
errcode
=
errno
;
ASSERT
(
g_usrwork
[
USRWORK
].
pid
>
0
);
DEBUGASSERT
(
g_usrwork
[
USRWORK
].
pid
>
0
);
if
(
g_usrwork
[
USRWORK
].
pid
<
0
)
{
int
errcode
=
errno
;
DEBUGASSERT
(
errcode
>
0
);
sdbg
(
"task_create failed: %d
\n
"
,
errcode
);
return
-
errcode
;
}
...
...
This diff is collapsed.
Click to expand it.
libnx/nxmu/nx_redrawreq.c
+
2
−
7
View file @
90b26956
...
...
@@ -40,6 +40,7 @@
#include
<nuttx/config.h>
#include
<errno.h>
#include
<assert.h>
#include
<debug.h>
#include
<nuttx/nx/nx.h>
...
...
@@ -94,13 +95,7 @@ void nx_redrawreq(NXWINDOW hwnd, FAR const struct nxgl_rect_s *rect)
struct
nxsvrmsg_redrawreq_s
outmsg
;
int
ret
;
#ifdef CONFIG_DEBUG
if
(
!
wnd
||
!
rect
)
{
set_errno
(
EINVAL
);
return
ERROR
;
}
#endif
DEBUGASSERT
(
wnd
&&
rect
);
/* Inform the server of the changed position */
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment