Skip to content

Commit 3b68a10

Browse files
committed
Small fix
1 parent 2503fba commit 3b68a10

7 files changed

Lines changed: 15 additions & 6 deletions

File tree

libs/rtemodel/include/RteKernel.h

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,17 @@ class RteKernel
360360
*/
361361
virtual YmlTree* CreateYmlTree(IXmlItemBuilder* itemBuilder) const;
362362

363+
/**
364+
* @brief get this pointer to use in const methods
365+
* @return this
366+
*/
363367
RteKernel* GetThisKernel() const { return const_cast<RteKernel*>(this); }
368+
369+
/**
370+
* @brief parses a repository index file
371+
* @param absolute path to the repository index file
372+
* @return pointer to "pindex" element if successful, nullptr otherwise
373+
*/
364374
XMLTreeElement* ParseRepositoryIdx(const std::string& indexPath) const;
365375

366376
// data

libs/rtemodel/src/RteKernel.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -659,7 +659,7 @@ bool RteKernel::ReadPackLatestVerAndPath(map<string, pair<string, string>>& late
659659
latestPacks[packId] = { version, pdscFile };
660660
}
661661
}
662-
// read effective PDSC files (installed + local), keeping only the latest ones. Override the current entry if the local version is newer than the web version
662+
// read effective PDSC files (installed + local). Override the current entry if the local version is newer than the web version
663663
XmlItem attributes;
664664
map<string, string, RtePackageComparator> effectivePdscMap;
665665
if (GetEffectivePdscFilesAsMap(effectivePdscMap, true)) {

test/packs/ARM/RteTestBoard/0.0.1/ARM.RteTestBoard.pdsc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
<releases>
99
<release version="0.0.1" date="2026-04-24">
10-
Pre-initial version 0.0.1 forS testing CheckPackVersionCmd
10+
Pre-initial version 0.0.1 for testing CheckPackVersionCmd
1111
</release>
1212
</releases>
1313

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
CortexM4Device.FLM : not real flash algorithm
1+
CortexM4Device.FLM : not real flash algorithm
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
CortexM4SubFamily.FLM : not real flash algorithm
1+
CortexM4SubFamily.FLM : not real flash algorithm

test/packs/ARM/RteTestBoard/0.1.0/ARM.RteTestBoard.pdsc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<release version="0.0.2" date="2026-04-24">
1313
Pre-initial version 0.0.2 for testing CheckPackVerCmd
1414
</release>
15-
<release version="0.0.1" date="2022-04-24">
15+
<release version="0.0.1" date="2026-04-24">
1616
Pre-initial version 0.0.1 for testing CheckPackVerCmd
1717
</release>
1818
</releases>

tools/projmgr/src/ProjMgrWorker.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6037,7 +6037,6 @@ bool ProjMgrWorker::CheckPackVerAndCollectRelNotes(std::vector<std::string>& res
60376037
if (!LoadPacks(context)) {
60386038
return false;
60396039
}
6040-
60416040
for (const auto& pack : m_loadedPacks) {
60426041
const string packId = pack->GetVendorString() + "::" + pack->GetName();
60436042
const string& currentVersion = pack->GetVersionString();

0 commit comments

Comments
 (0)