12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 |
- #include "e_homing.h"
- const char e_homing_id[] = "@(#)$Id $" e_homing_h;
- #include "typedef.h"
- #include "cnst.h"
- Word16 encoder_homing_frame_test (Word16 input_frame[])
- {
- Word16 i, j;
-
- for (i = 0; i < L_FRAME; i++)
- {
- j = input_frame[i] ^ EHF_MASK;
- if (j)
- break;
- }
- return !j;
- }
|