refactoring

This commit is contained in:
Bernd Herzog 2023-04-16 20:33:02 +02:00
parent dc560ba01f
commit 0acf7ec2c2
2 changed files with 0 additions and 3 deletions

View File

@ -265,8 +265,6 @@ bool ControlsSwitchesWidget::on_key(const KeyEvent key) {
return true;
}
#define RECT_UNUSED { 0, 0, 0, 0 }
void ControlsSwitchesWidget::paint(Painter& painter) {
const auto pos = screen_pos();

View File

@ -215,7 +215,6 @@ constexpr GPIO gpio[] = {
[GPIO5_4] = { pins[P2_4], 5, 4, 4 },
[GPIO5_5] = { pins[P2_5], 5, 5, 4 },
[GPIO5_6] = { pins[P2_6], 5, 6, 4 },
//TODO: find right settings
[GPIO5_7] = { pins[P2_8], 5, 7, 4 },
[GPIO5_8] = { pins[P3_1], 5, 8, 4 },
[GPIO5_9] = { pins[P3_2], 5, 9, 4 },