mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-07-11 23:38:11 -07:00
Update dice.c
This commit is contained in:
@@ -68,11 +68,6 @@ static void dice_render_callback(Canvas* const canvas, void* ctx) {
|
||||
}
|
||||
}
|
||||
if(state->letsRoll) {
|
||||
static bool rand_generator_inited = false;
|
||||
if(!rand_generator_inited) {
|
||||
srand(furi_get_tick());
|
||||
rand_generator_inited = true;
|
||||
}
|
||||
furi_hal_rtc_get_datetime(&state->datetime);
|
||||
uint8_t hour = state->datetime.hour;
|
||||
char strAMPM[3];
|
||||
|
||||
Reference in New Issue
Block a user