esp-idf-lib/devtools/spec/license.rb@12506716211c
esp-idf-lib/devtools/spec/license.rb
Thu, 06 Apr 2023 20:49:52 +0200
- author
- Michiel Broek <mbroek@mbse.eu>
- date
- Thu, 06 Apr 2023 20:49:52 +0200
- changeset 18
- 12506716211c
- parent 1
-
1c9894662795
- permissions
- -rw-r--r--
Added nvsio utilities to make read/write to nvs namespace easier. Added variables for deep sleep to nvs namespace. In task_wifi, removed some init parameters that might add to instable wifi connect problems.
# 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