bool allow_svhandler_flash_sector_num(int sector) {
  for (const FlashSector *s = flash_sector_map; s->use != FLASH_INVALID; s++) {
    if (s->sector == sector) return allow_svhandler_flash_sector(s);
  }
  return false;
}
bool allow_svhandler_flash_sector_num(int sector) {
  for (const FlashSector *s = flash_sector_map; s->use != FLASH_INVALID; s++) {
    if (s->sector == sector) return allow_svhandler_flash_sector(s);
  }
  return false;
}