[apps/hardware_test] Centered screen test done at serial number view

This commit is contained in:
Léa Saviot
2019-07-03 10:28:22 +02:00
parent 5ac1c27401
commit d07211cde4
9 changed files with 25 additions and 57 deletions

View File

@@ -2,13 +2,13 @@
namespace HardwareTest {
constexpr KDColor DeadPixelsTestController::k_colors[DeadPixelsTestController::k_numberOfColors - 1];
constexpr KDColor DeadPixelsTestController::k_colors[DeadPixelsTestController::k_numberOfAdditionalColors];
bool DeadPixelsTestController::handleEvent(Ion::Events::Event event) {
if (event != Ion::Events::OK) {
return true;
}
if (m_colorIndex == k_numberOfColors) {
if (m_colorIndex == k_numberOfAdditionalColors) {
// Go to the next step - this will be handled by the WizardViewController
return false;
} else {