summaryrefslogtreecommitdiff
path: root/rs422lib/sysctl.c
diff options
context:
space:
mode:
authorJoe Zhao <ztuowen@gmail.com>2014-05-16 17:12:37 +0800
committerJoe Zhao <ztuowen@gmail.com>2014-05-16 17:12:37 +0800
commit80469b4bfaf49a407d8d6b5bf3c2eb0d1c9870e6 (patch)
tree12c312dc2c7a32a5e987d4603b6179b5fab6d391 /rs422lib/sysctl.c
parentb038c3b87564e9f4acac0019b18fd6d20692ac38 (diff)
downloadrsbus-80469b4bfaf49a407d8d6b5bf3c2eb0d1c9870e6.tar.gz
rsbus-80469b4bfaf49a407d8d6b5bf3c2eb0d1c9870e6.tar.bz2
rsbus-80469b4bfaf49a407d8d6b5bf3c2eb0d1c9870e6.zip
Comments update
Diffstat (limited to 'rs422lib/sysctl.c')
-rw-r--r--rs422lib/sysctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rs422lib/sysctl.c b/rs422lib/sysctl.c
index fbacb9c..4562702 100644
--- a/rs422lib/sysctl.c
+++ b/rs422lib/sysctl.c
@@ -21,7 +21,7 @@ void sysctl_void()
void sysroutine()
{
if (syscall>0)
- switch ((syscall & (-syscall)))
+ switch ((syscall & (-syscall))) // This is used to get the lowest bit
{
case SYS_BIT7:
syscall=syscall&(~SYS_BIT7);