diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2002-07-28 11:45:52 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2002-07-28 11:45:52 +0000 |
commit | 5c682fb0cd23be43613961fedef59c9184b07cc2 (patch) | |
tree | 6d10a8e384ea0ff1526b8ce5122b1f183bafd4aa /firmware/drivers | |
parent | 7ad3ba07e5aa384ad70cb0f87decfe885846a327 (diff) |
mas_run() didn't work
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1477 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers')
-rw-r--r-- | firmware/drivers/mas.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/drivers/mas.c b/firmware/drivers/mas.c index f13f8aec01..40330db350 100644 --- a/firmware/drivers/mas.c +++ b/firmware/drivers/mas.c @@ -68,7 +68,7 @@ int mas_run(unsigned short address) i2c_begin(); buf[0] = MAS_DATA_WRITE; - buf[1] = address << 8; + buf[1] = address >> 8; buf[2] = address & 0xff; /* send run command */ |