Hugo Sperrle commanded the aircraft units of the Condor Legion and Wilhelm Ritter von Thoma commanded the non-aircraft units . Hugo Sperrle commanded the aircraft units of the Condor Legion and Wilhelm Ritter von Thoma commanded the ground units .