diff options
author | Leo C | 2016-07-14 00:20:10 +0200 |
---|---|---|
committer | Leo C | 2016-07-14 00:20:10 +0200 |
commit | 3b841cea9979b3df9d9292ce37aad9ea4b9ae268 (patch) | |
tree | 53edb5031d95ca1bceef52708ad0b251618c3c48 /avr/z180-serv.c | |
parent | 44c1fb6f4816abd4b3c26695cbeab2e2ca1d518e (diff) | |
download | z180-stamp-3b841cea9979b3df9d9292ce37aad9ea4b9ae268.zip |
Additional Codes for HOME and END key.
Diffstat (limited to 'avr/z180-serv.c')
-rw-r--r-- | avr/z180-serv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/avr/z180-serv.c b/avr/z180-serv.c index 0ce6b9b..9cf59f8 100644 --- a/avr/z180-serv.c +++ b/avr/z180-serv.c @@ -263,7 +263,7 @@ int drv_detach(uint8_t unit) p->flags &= ~DRV_FLG_DIRTY; p->img_name = NULL; - uint32_t scb = getenv_ulong(ENV_CPM3_SCB, 16, 0); + uint32_t scb = getenv_ulong(PSTR(ENV_CPM3_SCB), 16, 0); if (scb && (z80_bus_cmd(Request) & ZST_ACQUIRED)) { z80_write(scb + 0xf0, 0xff); z80_write(p->dph + 11, 0xff); |