--- a/.gitignore Tue Jun 04 14:09:16 2024 +0200
+++ b/.gitignore Thu Aug 15 23:20:16 2024 +0200
@@ -14,4 +14,6 @@
doc/locale/**
C_runtime/**/*.d
-C_runtime/**/*.o
\ No newline at end of file
+C_runtime/**/*.o
+beremiz_runtime
+**/tmp/**
--- a/C_runtime/PLCObject.cpp Tue Jun 04 14:09:16 2024 +0200
+++ b/C_runtime/PLCObject.cpp Thu Aug 15 23:20:16 2024 +0200
@@ -344,6 +344,9 @@
uint32_t PLCObject::LoadPLC(void)
{
+
+ // TODO use PLCLibMutex
+
// Load the last transferred PLC md5 hex digest
std::string md5sum;
try {
--- a/C_runtime/PLCObject.hpp Tue Jun 04 14:09:16 2024 +0200
+++ b/C_runtime/PLCObject.hpp Thu Aug 15 23:20:16 2024 +0200
@@ -71,7 +71,6 @@
uint32_t SetTraceVariablesList(const list_trace_order_1_t * orders, int32_t * debugtoken);
uint32_t StartPLC(void);
uint32_t StopPLC(bool * success);
- uint32_t AutoLoad();
private:
// A map of all the blobs
@@ -109,6 +108,7 @@
// Trace double buffer
std::vector<trace_sample> m_traces;
+ uint32_t AutoLoad();
uint32_t BlobAsFile(const binary_t * BlobID, std::filesystem::path filename);
uint32_t LoadPLC(void);
uint32_t UnLoadPLC(void);