Fix a compiler warning about unused variables when #ifdef'in in the
"don't use any hardware" option...