Refactor duplicate code into new function.
tree1b16bd2962484a1ffa1fd349902542ab8ab5bac0
-rw-r--r-- 6 .gitignore
-rw-r--r-- 2935 CHANGES.md
-rw-r--r-- 442 Makefile
-rw-r--r-- 2361 README.md
-rw-r--r-- 2665 config.h
-rw-r--r-- 6353 rover.1
-rw-r--r-- 41267 rover.c
-rwxr-xr-x 429 rover.sh