Changeset 1333 for applications
- Timestamp:
- 04/15/11 16:44:37 (14 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
applications/pmsm/simulator_zdenek/ekf_example/matrix_vs.cpp
r1329 r1333 631 631 tau=((int32)c**Ch_kj-(int32)s**Ch_ki)>>14; 632 632 tmp_long =((int32)s**Ch_kj+(int32)c**Ch_ki); 633 if (tmp_long>(1<<2 8))634 *Ch_ki = (1<<1 4)-1;633 if (tmp_long>(1<<29)) 634 *Ch_ki = (1<<15)-1; 635 635 else 636 636 *Ch_ki=tmp_long>>14;