Skip to content

Incorrect Handling of Exponentiation in Calculation of Exposure Time #2

@sskii

Description

@sskii

float Timer::getDuration() does not agree with if(UID <= LAST_STEPPED_TIME) in String SettingsRegistry::settingAsString(uint8_t UID, uint8_t renderVal) or with intended implementation.

The former currently only calculates times greater than 1 second as it does not include an offset to allow negative steps and thus fractional exposure times. if(UID <= LAST_STEPPED_TIME) does not apply the correct offset.

These seperate implementations of the same concept should be unified in code and implemented together in timer.cpp.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions