#
6d254ee0 |
| 06-Dec-2022 |
Patrick Williams <patrick@stwcx.xyz> |
reformat with latest settings
Reformat with the latest settings from openbmc-build-scripts code formatter.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: If1a2f0afa88f7354f68989b435
reformat with latest settings
Reformat with the latest settings from openbmc-build-scripts code formatter.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: If1a2f0afa88f7354f68989b43593efec77d0a1d6
show more ...
|
#
158b2c14 |
| 17-Mar-2022 |
Patrick Williams <patrick@stwcx.xyz> |
led-layout: use common types everywhere
Rather than scattered map and set typedefs, centralize the two common structures into 'ledlayout.hpp': ActionSet, GroupMap. Use them everywhere where previou
led-layout: use common types everywhere
Rather than scattered map and set typedefs, centralize the two common structures into 'ledlayout.hpp': ActionSet, GroupMap. Use them everywhere where previous raw maps and sets were used.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I0ed5203146a6486a49caf4000f545ded0088dc15
show more ...
|
#
fccfac90 |
| 17-Mar-2022 |
Patrick Williams <patrick@stwcx.xyz> |
parse_led: format with black
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I979949f7f6b3ece3e5e66d0c1e63a351ea7246df
|
#
f2044037 |
| 17-Mar-2022 |
Patrick Williams <patrick@stwcx.xyz> |
switch map to unordered_map
Generally, unordered_maps should be preferred over map because they have faster access times (O(1)) and tend to allocate less dynamic memory. We do not rely on ordered i
switch map to unordered_map
Generally, unordered_maps should be preferred over map because they have faster access times (O(1)) and tend to allocate less dynamic memory. We do not rely on ordered iteration in any current use of maps, so it is safe to do a full replace.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ieaa28ac7f70f9913d13d25142fea9861d49bb23f
show more ...
|
#
ed80e885 |
| 17-Mar-2022 |
Patrick Williams <patrick@stwcx.xyz> |
action: use PDI type
Rather than define our own enumeration for the LED Actions, reuse the one from Led.Physical's dbus interface.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I46
action: use PDI type
Rather than define our own enumeration for the LED Actions, reuse the one from Led.Physical's dbus interface.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I4615bed9e87c61d2632fe790bd50892a7f51e2ab
show more ...
|
#
79d72453 |
| 16-Mar-2022 |
Patrick Williams <patrick@stwcx.xyz> |
parse_led: move to scripts subdir
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I0607c4dfc90cd564857bba5399b80fbd9a18d996
|