Add some temporary disabled code for each peripheral
(copied from io.c)
This commit is contained in:
@@ -7,3 +7,38 @@
|
||||
*
|
||||
******************************************************************************/
|
||||
|
||||
#if 0
|
||||
|
||||
case 0xb5:
|
||||
|
||||
read
|
||||
w1 = ws_ioRam[0xb5];
|
||||
|
||||
if (w1 & 0x40)
|
||||
{
|
||||
w2 = 0x00;
|
||||
w2 = (ws_key_start << 1) | (ws_key_button_a << 2) | (ws_key_button_b << 3);
|
||||
retVal = (uint8_t)((w1 & 0xf0) | w2);
|
||||
break;
|
||||
}
|
||||
|
||||
if (w1 & 0x20)
|
||||
{
|
||||
w2 = 0x00;
|
||||
w2 = (ws_key_x1 << 0) | (ws_key_x2 << 1) | (ws_key_x3 << 2) | (ws_key_x4 << 3);
|
||||
retVal = (uint8_t)((w1 & 0xf0) | w2);
|
||||
break;
|
||||
}
|
||||
|
||||
if (w1 & 0x10)
|
||||
{
|
||||
w2 = 0x00;
|
||||
w2 = (ws_key_y1 << 0) | (ws_key_y2 << 1) | (ws_key_y3 << 2) | (ws_key_y4 << 3);
|
||||
retVal = (uint8_t)((w1 & 0xf0) | w2);
|
||||
}
|
||||
|
||||
write:
|
||||
|
||||
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user