When Italy declared war in May 1940 , the Italian troops were not prepared for a prolonged war in Eastern Africa . When Italy declared war on 10 June 1940 , the Italian troops were not prepared for a prolonged war in North Africa or East Africa .