feat: full integration with FreeRTOS tasks and slideshow state machine
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -87,7 +87,7 @@ String PhotoQueue::next() {
|
||||
String id = _queue[_cursor++];
|
||||
|
||||
// Persist cursor
|
||||
_settings->saveField("queue_cursor", static_cast<uint8_t>(_cursor & 0xFF));
|
||||
_settings->saveField("queue_cursor", static_cast<uint32_t>(_cursor));
|
||||
|
||||
return id;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user