migrate to PIP v4.1

This commit is contained in:
2024-10-22 09:59:56 +03:00
parent b6898b96f7
commit 0c36565aec
4 changed files with 12 additions and 2 deletions

View File

@@ -58,6 +58,7 @@ CDCore::CDCore() {
setName("CDCore");
x_timer.setName("_S.CDCore.x_timer");
datatr.setPacketSize(960);
cout_buffer_id = PICout::registerExternalBufferID();
CONNECTU(&connection, dataReceivedEvent, this, dataReceived);
CONNECTU(PICout::Notifier::object(), finished, this, piCoutFinished);
/*PIString s(app_config);
@@ -387,7 +388,7 @@ void CDCore::xTimerTick() {
void CDCore::piCoutFinished(int id, PIString * buffer) {
if (!buffer || !(id == 1)) return;
if ((id != cout_buffer_id) || !buffer) return;
PIString sp = buffer->takeRange('[', ']');
PIDeque<int> p = CDCore::stringToPath(sp);
sendMessage(m_[p], Log, *buffer);