Changeset 838c48e in mainline for console/console.c
- Timestamp:
- 2006-06-02T09:25:00Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 49d072e
- Parents:
- 1180a88e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
console/console.c
r1180a88e r838c48e 140 140 scr->position_x = scr->position_x % scr->size_x; 141 141 scr->position_y = scr->position_y % scr->size_y; 142 ipc_call_async_2(fb_info.phone, FB_CURSOR_GOTO, scr->position_y, scr->position_x, NULL, NULL); 142 143 143 144 } … … 173 174 if ((c >= '1') && (c < '1' + CONSOLE_COUNT)) { 174 175 /*FIXME: draw another console content from buffer */ 175 if (c - KBD_KEY_F1== active_console)176 if (c - '1' == active_console) 176 177 break; 177 178 active_console = c - '1'; … … 187 188 ipc_call_async_3(fb_info.phone, FB_PUTCHAR, d, j, i, NULL, NULL); 188 189 } 190 189 191 ipc_call_async_2(fb_info.phone, FB_CURSOR_GOTO, conn->screenbuffer.position_y, conn->screenbuffer.position_x, NULL, NULL); 190 192 ipc_call_async(fb_info.phone, FB_CURSOR_VISIBILITY, 1, NULL, NULL);
Note:
See TracChangeset
for help on using the changeset viewer.