9p fix#17
This commit is contained in:
parent
7d36a38024
commit
fb71960f38
18
pyren/macro/rlink2/rlink2-enable-AAandCP.cmd
Normal file
18
pyren/macro/rlink2/rlink2-enable-AAandCP.cmd
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
# Enable AndroidAuto and CarPlay on R-Link2
|
||||||
|
$addr = 13
|
||||||
|
|
||||||
|
can500 # init can macro
|
||||||
|
|
||||||
|
1003
|
||||||
|
|
||||||
|
# check if it is rlink2
|
||||||
|
exit_if_not F18A 6 4 FFFFFF 434150
|
||||||
|
|
||||||
|
set_bits 2130 10 5 60 60
|
||||||
|
|
||||||
|
wait 2
|
||||||
|
|
||||||
|
# reload rlink2
|
||||||
|
1101
|
||||||
|
|
||||||
|
exit
|
17
pyren/macro/rlink2/rlink2-rotate-screen.cmd
Normal file
17
pyren/macro/rlink2/rlink2-rotate-screen.cmd
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
# Rotate R-Link2 screen
|
||||||
|
$addr = 13
|
||||||
|
|
||||||
|
can500 # init can macro
|
||||||
|
|
||||||
|
1003
|
||||||
|
|
||||||
|
exit_if_not F18A 6 4 FFFFFF 434150
|
||||||
|
|
||||||
|
xor_bits 2130 10 4 10 10
|
||||||
|
|
||||||
|
wait 2
|
||||||
|
|
||||||
|
# reload rlink2
|
||||||
|
1101
|
||||||
|
|
||||||
|
exit
|
Loading…
x
Reference in New Issue
Block a user