Computer Help Needed

Is it a mistake to charge small devices through the USB ports on my desktop? I think I somehow fried the desktop by charging my reading lamp through the USB. Now when the desktop starts to boot up, it tells me that I’m using the wrong USB port and shuts down. Obviously, I’ve taken everything out of the USB ports.