1
0
mirror of https://github.com/p2r3/bareiron.git synced 2025-10-01 23:25:09 +02:00

clean up registry builder

This commit is contained in:
p2r3
2025-08-13 18:56:11 +03:00
parent 62d46bb8d6
commit fbeaf5c499

View File

@@ -142,8 +142,6 @@ function serializeRegistry (name, entries) {
function serializeTags (tags) { function serializeTags (tags) {
const parts = []; const parts = [];
console.log(tags);
// Packet ID for Update Tags // Packet ID for Update Tags
parts.push(Buffer.from([0x0D])); parts.push(Buffer.from([0x0D]));
@@ -283,6 +281,7 @@ uint8_t I_to_B (uint16_t item) {
#include <stdint.h> #include <stdint.h>
// Binary packet data (${fullRegistryBuffer.length + tagBuffer.length} bytes total)
extern uint8_t registries_bin[${fullRegistryBuffer.length}]; extern uint8_t registries_bin[${fullRegistryBuffer.length}];
extern uint8_t tags_bin[${tagBuffer.length}]; extern uint8_t tags_bin[${tagBuffer.length}];