changes for testing H-bridge chip