The Block Signal (1926)

Movie
The Block Signal
Joe Ryan, a veteran train engineer, is demoted to a flagman position after a disastrous crash-- one caused by his cowardly and opportunistic partner. Though Ryan's failing eyesight is named as the cause of the crash, he's undeterred as he designs an automatic braking invention.