Changeset 8a9a41e in mainline for uspace/srv/hid/display/display.c
- Timestamp:
- 2021-10-24T08:28:43Z (4 years ago)
- Children:
- 9ea3a41
- Parents:
- 2ce943a (diff), cd981f2a (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - git-author:
- Erik Kučák <35500848+Riko196@…> (2021-10-24 08:28:43)
- git-committer:
- GitHub <noreply@…> (2021-10-24 08:28:43)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/display/display.c
r2ce943a r8a9a41e 1 1 /* 2 * Copyright (c) 20 19Jiri Svoboda2 * Copyright (c) 2021 Jiri Svoboda 3 3 * All rights reserved. 4 4 * … … 53 53 static void ds_display_update_cb(void *); 54 54 55 static mem_gc_cb_t ds_display_mem_gc_cb = { 56 .invalidate = ds_display_invalidate_cb, 57 .update = ds_display_update_cb 58 }; 59 55 60 /** Create display. 56 61 * … … 459 464 goto error; 460 465 461 rc = mem_gc_create(&disp->rect, &alloc, 462 ds_display_invalidate_cb, ds_display_update_cb, (void *) disp, 463 &disp->bbgc); 466 rc = mem_gc_create(&disp->rect, &alloc, &ds_display_mem_gc_cb, 467 (void *) disp, &disp->bbgc); 464 468 if (rc != EOK) 465 469 goto error;
Note:
See TracChangeset
for help on using the changeset viewer.