the men were obliged to be in the lines , with their arms , an hour before dawn , and to remain there until the sun had burned away the fog , to be sure the fog did not hide americans ready to attack .