src: Enable unused parameter warning

Fix warnings.
Some clang-formatting was necessary.
DebugPins is unused and was removed.
This commit is contained in:
Riku Isokoski
2022-12-30 23:31:31 +02:00
parent 8b0d888952
commit a3e14c012d
42 changed files with 110 additions and 168 deletions

View File

@@ -79,11 +79,11 @@ void Paddle::Refresh() {
lv_label_set_text_fmt(points, "%04d", score);
}
bool Paddle::OnTouchEvent(Pinetime::Applications::TouchEvents event) {
bool Paddle::OnTouchEvent(Pinetime::Applications::TouchEvents /*event*/) {
return true;
}
bool Paddle::OnTouchEvent(uint16_t x, uint16_t y) {
bool Paddle::OnTouchEvent(uint16_t /*x*/, uint16_t y) {
// sets the center paddle pos. (30px offset) with the the y_coordinate of the finger
// but clamp it such that the paddle never clips off screen
if (y < 31) {