All right, set the cmos jumper back to where it was.
Have the psu switch on but don't try to start it.
1) Grab a usb flashdrive.
2) Format the flash drive to FAT32.
3) Go to the Asus support center and download the latest bios for your motherboard.
3) Extract it to the usb flash drive.
4) You'll have to look in your manual to see what to rename the bios file to, for the z170 deluxe I'm not sure what to rename it to.
5) Insert the flash drive into the ROG connect port.
6) Press and hold the bios flashback button until it starts to flash then release, when flashing stops the update has completed and should take around 90 seconds to complete.
7) Start up your pc.
Here is a guide you can follow.
https://rog.asus.com/forum/showthread.php?1142-How-to-use-ASUS-ROG-USB-BIOS-FlashbackAny luck ?