Moved screens to subfolder
This commit is contained in:
parent
bd7a616e2b
commit
9b62af6f11
@ -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)
|
@ -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"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user