RL02: get device number
This commit is contained in:
parent
916232e2f0
commit
ff9301b73b
1 changed files with 1 additions and 1 deletions
2
rl02.cpp
2
rl02.cpp
|
@ -148,7 +148,7 @@ void rl02::writeWord(const uint16_t addr, uint16_t v)
|
|||
|
||||
DOLOG(debug, false, "RL02 set command %d, exec: %d (%s)", command, do_exec, commands[command]);
|
||||
|
||||
int device = 0; // TODO
|
||||
int device = (v >> 8) & 3;
|
||||
|
||||
bool do_int = false;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue