[apps/ion] Clean and shorten LCDData and LCDTiming tests

This commit is contained in:
Léa Saviot
2019-07-15 15:21:14 +02:00
parent a975f020f0
commit aafb6d5a5e
5 changed files with 11 additions and 4 deletions

View File

@@ -1,5 +1,6 @@
#include "lcd_data_test_controller.h"
#include <apps/shared/post_and_hardware_tests.h>
#include <ion/backlight.h>
#include <ion/display.h>
#include <poincare/print_int.h>
@@ -22,7 +23,9 @@ bool LCDDataTestController::handleEvent(Ion::Events::Event event) {
}
void LCDDataTestController::viewWillAppear() {
Ion::Backlight::setBrightness(0);
runTest();
Ion::Backlight::setBrightness(Ion::Backlight::MaxBrightness);
}
LCDDataTestController::ContentView::ContentView() :