Seems like largest calculated t/o = 38.2 seconds vs. 60 second alarm t/o. Let's leave as is for now, but add a TODO comment here to remove alarm t/o and associated alarm.
Should this entire function be commented out? It has the proper SW_CONFIG check to not raise alarms and the variables that being assigned here are local.