- 16 Nov, 2021 8 commits
- 14 Nov, 2021 1 commit
-
- 13 Nov, 2021 1 commit
-
- 01 Nov, 2021 4 commits
-
-
Rahix authored
When ctx is currently running in the dispatcher task to perform some drawing calculations, the code here in the pmic task might preempt it. This can lead to odd glitches and probably in the worst case a crash. Because we know that no other code will continue running after we've hit the shutdown codepath, we can just force-reinitialize ctx here.
-
Rahix authored
Print "Reset!" to the screen before resetting so it is obvious what is about to happen. Currently, the screen brightness just suddenly jumps up and card10 becomes unresponsive until the bootloader shows up.
-
Rahix authored
-
- 01 Oct, 2021 7 commits
- 23 Sep, 2021 2 commits
-
-
schneider authored
- 20 Sep, 2021 1 commit
-
- 19 Sep, 2021 16 commits
-
-
schneider authored
-
schneider authored
-
Rahix authored
-
Rahix authored
-
schneider authored
-
schneider authored
-
Rahix authored
When core 1 repeatedly calls `epic_sleep()`, this could delay an epic_load() from core 0 because the reset interrupt can only be delivered after such a call completed. To work around this, add calls into `do_load()` to notify the dispatcher task that it should return early from calls like `epic_sleep()`. This gets a bit tricky because the dispatcher task also uses `ulTaskNotifyTake()` to wake up when new API calls arrive. To make sure we still break out of `epic_sleep()`, we need to call `xTaskNotifyGive()` twice in the wait loop.
-
Rahix authored
"Cache" the local sleep value to not send repetitive sleep-out commands to the display when the user repeatedly sets the backlight.
-
Rahix authored
-
Rahix authored
Previously, such lines would be drawn as a fuzzy two-pixel wide line instead of a sharp one-pixel one. This is because the coordinate grid is aligned _between_ pixels instead of on the pixel centers. More information in this cairo FAQ: https://www.cairographics.org/FAQ/#sharp_lines For odd linewidths, add 0.5 to all coordinates to offset the line perfectly onto the pixel grid. This makes them look sharp, as with the previous gfx code. Suggested-by:
Øyvind Kolås <pippin@gimp.org>
-