Moved screens to subfolder

This commit is contained in:
Mark van Renswoude 2017-12-02 12:47:29 +01:00
parent bd7a616e2b
commit 9b62af6f11
7 changed files with 5 additions and 5 deletions

View File

@ -1,5 +1,5 @@
#include "ScreenSetTime.h"
#include "ScreenMenu.h"
#include "Screen/ScreenMenu.h"
#include "ExposureTimer.h"
#include "Buzzer.h"
#include "Config.h"
@ -8,12 +8,12 @@
void ScreenSetTime::printExposureTime()
{
getDisplay()->setCursor(0, 1);
printTime(ExposureTime);
printTime(ExposureTime);
}
void ScreenSetTime::onShow()
{
{
getDisplay()->setCursor(0, 0);
getDisplay()->print("Exposure time: ");
@ -36,7 +36,7 @@ void ScreenSetTime::onButton()
void ScreenSetTime::onEncoder(long lastPosition, long newPosition)
{
buzzSelect();
if (newPosition > lastPosition)
ExposureTime += ExposureTime >= LargeStepTreshold ? LargeStep : SmallStep;
else if (ExposureTime > 0)

View File

@ -4,7 +4,7 @@
#include <LiquidCrystal.h>
#include "Config.h"
#include "ScreenManager.h"
#include "ScreenSetTime.h"
#include "Screen/ScreenSetTime.h"
#include "Buzzer.h"
#include "ExposureTimer.h"