Avoid hunting oscillations

Stop when target location is reached.

Signed-off-by: Paul Brook <paul@nowt.org>
PRU python module

Only run PRU test code when invoked directly

Signed-off-by: Paul Brook <paul@nowt.org>