Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove BAGL-gating on screen syscalls declaration #400

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

yhql
Copy link
Contributor

@yhql yhql commented Aug 7, 2023

Description

Screen drawing syscalls like bagl_hal_draw_bitmap_within_rect, ... were gated by HAVE_BAGL and HAVE_SE_SCREEN in os_screen.h whereas the syscalls implementation in syscalls.c only use HAVE_SE_SCREEN.
HAVE_BAGL was removed as the syscalls are there whether we use this define or not, and also the set_brightness syscall was gated to match syscalls.c.

Changes include

  • Other (for changes that might not fit in any category)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant