esp-idf-lib/devtools/spec/license.rb@bb72d448e282
esp-idf-lib/devtools/spec/license.rb
Mon, 03 Apr 2023 16:07:34 +0200
- author
- Michiel Broek <mbroek@mbse.eu>
- date
- Mon, 03 Apr 2023 16:07:34 +0200
- changeset 12
- bb72d448e282
- parent 1
-
1c9894662795
- permissions
- -rw-r--r--
In the esp-idf-lib the adps9930 driver uses a device descriptor structure instead of just i2c_dev_t. Fixed a linking issue. Added APDS9930 task. Added getLightValues function. Added wifi quality value to the MQTT payload. The payload is complete and will be published.
# frozen_string_literal: true
class License
def initialize(hash)
raise ArgumentError, "missing key `name`" unless hash.key?("name")
@metadata = hash
end
def name
@metadata["name"]
end
def to_s
name
end
end