mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-01-13 01:43:39 +00:00
refactoring
This commit is contained in:
parent
dc560ba01f
commit
0acf7ec2c2
@ -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();
|
||||
|
||||
|
@ -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 },
|
||||
|
Loading…
x
Reference in New Issue
Block a user