pmt: Last commit for 1.2.0 version
- Major changes for developers. - Some changes to flash and sizeof functions. - Some minor changes.
This commit is contained in:
@@ -62,8 +62,8 @@ INIT {
|
||||
|
||||
RUN {
|
||||
auto func = [this] COMMON_LAMBDA_PARAMS -> bool {
|
||||
if (Variables->onLogical && !props.isLogical) {
|
||||
if (Variables->forceProcess)
|
||||
if (VARS.onLogical && !props.isLogical) {
|
||||
if (VARS.forceProcess)
|
||||
LOGN(SFUN, WARNING)
|
||||
<< "Partition " << partition
|
||||
<< " is exists but not logical. Ignoring (from --force, -f)."
|
||||
@@ -88,12 +88,12 @@ RUN {
|
||||
};
|
||||
|
||||
if (partitions.back() == "get-all" || partitions.back() == "getvar-all")
|
||||
Variables->PartMap->doForAllPartitions(func);
|
||||
PART_MAP.doForAllPartitions(func);
|
||||
else if (partitions.back() == "get-logicals")
|
||||
Variables->PartMap->doForLogicalPartitions(func);
|
||||
PART_MAP.doForLogicalPartitions(func);
|
||||
else if (partitions.back() == "get-physicals")
|
||||
Variables->PartMap->doForPhysicalPartitions(func);
|
||||
else Variables->PartMap->doForPartitionList(partitions, func);
|
||||
PART_MAP.doForPhysicalPartitions(func);
|
||||
else PART_MAP.doForPartitionList(partitions, func);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user