[Fix] Replace floating-point operations with fixed-point arithmetic in aw8695 and cam_ois drivers
- Updated `aw8695.c` to replace floating-point multiplication with fixed-point arithmetic: - Changed `f0_pre_low` and `f0_pre_high` calculations to use integer math. - Adjusted conditional checks to work with the new fixed-point representation. - Updated `cam_ois_core.c` to use integer arithmetic for `c` and `d` calculations: - Replaced floating-point operations with scaled integer calculations. - Used `long long` casting to handle large intermediate values.
Loading
Please register or sign in to comment