Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sensor:Update sensor type #13639

Merged
merged 4 commits into from
Sep 27, 2024
Merged

Commits on Sep 26, 2024

  1. Configuration menu
    Copy the full SHA
    6088692 View commit details
    Browse the repository at this point in the history
  2. sensor:sensor info power max_range and resolution are unified with An…

    …droid type.
    
    https://cs.android.com/android/_/android/platform/hardware/libhardware/+/0e67aa0caee9500b61b9c1c8b6e5cab18301364c:include_all/hardware/sensors.h
    
    Nuttx    <-------------------------------> Android
    int32_t  <-- version                   --> int
    float    <-- power                     --> float
    float    <-- max_range                 --> float
    float    <-- resolution                --> float
    int32_t  <-- min_delay                 --> int32_t
    int32_t  <-- max_delay                 --> int32/64_t
    uint32_t <-- fifo_reserved_event_count --> uint32_t
    uint32_t <-- fifo_max_event_count      --> uint32_t
    char[]   <-- name                      --> char*
    char[]   <-- vendor                    --> char*
    
    Signed-off-by: likun17 <[email protected]>
    Otpvondoiats committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    62ccca4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    29fdc0d View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2024

  1. Configuration menu
    Copy the full SHA
    ac86358 View commit details
    Browse the repository at this point in the history