Thilo Graf 7175842106 libstb-hal: hdmi_cec: ensure time compatibility for rc_sync with _TIME_BITS=64
This commit replaces commit:

      libstb-hal: Fix compatibility issues with struct input_event time assignment

These issues arose because of updates in OE/Yocto versions (e.g. >= Honister),
which introduced changes requiring these adjustments.

- Added conditional compilation to check for input_event_sec.
- Updated hdmi_cec::rc_sync method to use appropriate time fields for 64-bit suseconds.
- Maintained backward compatibility for older systems with 32-bit suseconds.
- Leveraged macros defined in input.h for clarity and maintainability.

This should ensure proper handling of suseconds and maintain backward
compatibility with older systems.
This implementation uses input_event_sec and input_event_usec macros for clarity and maintainability.
This changes shuold resolve build issues encountered due to compatibility
problems with newer versions of libraries.

It is quite certain that similar adjustments will need to be made in
other files. However, since I have only worked on this platform so far,
only this part of the code was noticeable at first. It should be noted
that this problem likely does not "yet" affect older build systems,
but it will become necessary at some point.
This also applies to Neutrino (adjustments will follow).
2024-06-27 11:37:08 +02:00
2024-03-25 06:20:43 +01:00
2024-03-25 06:20:43 +01:00
2024-01-04 22:47:14 +01:00
2024-01-04 22:47:14 +01:00
2024-01-04 22:47:14 +01:00
2021-11-07 10:09:06 +01:00
2022-12-29 00:18:52 +01:00
2023-04-27 22:00:22 +02:00
2017-11-02 17:23:50 +01:00
2021-11-07 10:13:26 +01:00
2019-04-28 20:07:49 +02:00
2019-04-28 20:07:48 +02:00
2021-05-30 16:31:13 +02:00
2022-10-13 13:54:52 +02:00
2017-11-02 17:23:50 +01:00
2017-11-02 17:23:50 +01:00
2014-04-26 15:22:46 -07:00
2017-11-02 17:23:48 +01:00

libstb-hal

Description
Library to abstract STB hardware and supports generic pc and the RaspberryPi right now.
Readme 4 MiB
Languages
C 58.4%
C++ 39.6%
M4 1.2%
Makefile 0.7%