various: use log::set_max_level_racy

log 4.0.20 no longer provides `set_max_level` for platforms without
atomics. Users must now use set_max_level_racy instead.

BUG=b:264463632
TEST=emerge hps-firmware-tools

Change-Id: I218cfa8be0adfdbd2bc3b1325966988368763b3e
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/hps-firmware/+/4802830
Tested-by: George Burgess <gbiv@chromium.org>
Reviewed-by: Sami Kyöstilä <skyostil@chromium.org>
Commit-Queue: George Burgess <gbiv@chromium.org>
2 files changed
tree: 542e6a4fd398ed8a2c4c22c3c6e72b6cce68ed16
  1. .vscode/
  2. avr/
  3. bin/
  4. docs/
  5. models/
  6. renode/
  7. rust/
  8. scripts/
  9. soc/
  10. test_data/
  11. third_party/
  12. toolchain/
  13. .clang-format
  14. .gitignore
  15. .gn
  16. BUILD.gn
  17. BUILDCONFIG.gn
  18. DIR_METADATA
  19. environment
  20. LICENSE
  21. OWNERS
  22. PRESUBMIT.cfg
  23. pylintrc
  24. README.md
  25. rust-toolchain.toml
README.md

ChromiumOS Human Presence Sensor

The ChromiumOS Human Presence Sensor is a hardware peripheral which can detect the presence of one or more humans in front of the Chromebook.

This repository contains source code for the firmware which runs on the peripheral.

For more information, refer to the design document (Googlers only).

Documentation