Changeset e8975278 in mainline for uspace/app
- Timestamp:
- 2018-05-10T15:14:02Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1420cae9
- Parents:
- ae7d03c
- git-author:
- Jiri Svoboda <jiri@…> (2018-05-10 07:53:56)
- git-committer:
- Jiri Svoboda <jiri@…> (2018-05-10 15:14:02)
- Location:
- uspace/app
- Files:
-
- 3 edited
-
sbi/src/bigint.c (modified) (3 diffs)
-
usbinfo/info.c (modified) (1 diff)
-
vuhid/hids/logitech_wireless.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/sbi/src/bigint.c
rae7d03c re8975278 202 202 203 203 if (bigint->negative) 204 val = - val;204 val = -val; 205 205 206 206 /* If the value did not fit @c val now contains garbage. Verify. */ … … 368 368 { 369 369 static const char digits[] = { '0', '1', '2', '3', '4', '5', '6', 370 '7', '8', '9' };370 '7', '8', '9' }; 371 371 372 372 bigint_t val, tmp; … … 632 632 db = b; 633 633 634 tmp = (da * db)+ (bigint_word_t) carry;634 tmp = da * db + (bigint_word_t) carry; 635 635 636 636 carry = (bigint_word_t) (tmp / BIGINT_BASE); -
uspace/app/usbinfo/info.c
rae7d03c re8975278 269 269 } 270 270 271 /*printf("Found string in %s->%s: %zu\n",272 #descr_struct, #descr_item, __str_index); */273 271 #define SET_STRING_INDEX(descr, mask, descr_type, descr_struct, descr_item) \ 274 272 do { \ -
uspace/app/vuhid/hids/logitech_wireless.c
rae7d03c re8975278 58 58 #define iface1_input_size 8 59 59 static uint8_t iface1_in_data[] = { 60 /*0, 0, 0, 0, 0, 0, 0, 0, 61 0, 9, 0, 0, 0, 0, 0, 0, 62 0, 0, 9, 0, 0, 0, 0, 0, 63 0, 9, 9, 0, 0, 0, 0, 0,*/ 64 0, 0, 0, 0, 0, 0, 0, 0 60 0, 0, 0, 0, 0, 0, 0, 0 65 61 }; 66 62 67 63 static vuhid_interface_life_t iface1_life = { 68 64 .data_in = iface1_in_data, 69 .data_in_count = sizeof(iface1_in_data) /iface1_input_size,65 .data_in_count = sizeof(iface1_in_data) / iface1_input_size, 70 66 .data_in_pos_change_delay = 50, 71 67 .msg_born = "Mouse of Logitech Unifying Receiver comes to life...",
Note:
See TracChangeset
for help on using the changeset viewer.
