mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-15 17:02:53 +08:00
use elif in main_snake for g030
This commit is contained in:
parent
71e86ff8b5
commit
b95cf7a097
@ -816,11 +816,6 @@
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\pikascript\pikascript-api\PikaPiZero_LCD-api.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>PikaStdLib_List-api.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\pikascript\pikascript-api\PikaStdLib_List-api.c</FilePath>
|
||||
</File>
|
||||
</Files>
|
||||
</Group>
|
||||
<Group>
|
||||
@ -926,11 +921,6 @@
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\pikascript\pikascript-lib\PikaStdDevice\PikaStdDevice_GPIO.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>PikaStdLib_List.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\pikascript\pikascript-lib\PikaStdLib\PikaStdLib_List.c</FilePath>
|
||||
</File>
|
||||
</Files>
|
||||
</Group>
|
||||
<Group>
|
||||
|
@ -128,12 +128,12 @@ while True:
|
||||
if key_val == 0:
|
||||
d = 0
|
||||
isUpdate = 1
|
||||
if key_val == 1:
|
||||
elif key_val == 1:
|
||||
d = 1
|
||||
isUpdate = 1
|
||||
if key_val == 2:
|
||||
elif key_val == 2:
|
||||
d = 2
|
||||
isUpdate = 1
|
||||
if key_val == 3:
|
||||
elif key_val == 3:
|
||||
d = 3
|
||||
isUpdate = 1
|
||||
|
0
port/linux/api-make-linux.sh
Executable file → Normal file
0
port/linux/api-make-linux.sh
Executable file → Normal file
0
port/linux/api-make-win10.sh
Executable file → Normal file
0
port/linux/api-make-win10.sh
Executable file → Normal file
0
port/linux/api-make.sh
Executable file → Normal file
0
port/linux/api-make.sh
Executable file → Normal file
0
port/linux/gtest.sh
Executable file → Normal file
0
port/linux/gtest.sh
Executable file → Normal file
0
port/linux/init.sh
Executable file → Normal file
0
port/linux/init.sh
Executable file → Normal file
0
port/linux/make.sh
Executable file → Normal file
0
port/linux/make.sh
Executable file → Normal file
0
port/linux/package/pikascript/rust-msc-latest-linux
Executable file → Normal file
0
port/linux/package/pikascript/rust-msc-latest-linux
Executable file → Normal file
0
port/linux/pkg-push.sh
Executable file → Normal file
0
port/linux/pkg-push.sh
Executable file → Normal file
0
port/linux/pull-core.sh
Executable file → Normal file
0
port/linux/pull-core.sh
Executable file → Normal file
0
port/linux/push-core.sh
Executable file → Normal file
0
port/linux/push-core.sh
Executable file → Normal file
0
port/linux/test-banchmark.sh
Executable file → Normal file
0
port/linux/test-banchmark.sh
Executable file → Normal file
0
port/linux/update-compiler.sh
Executable file → Normal file
0
port/linux/update-compiler.sh
Executable file → Normal file
Loading…
x
Reference in New Issue
Block a user