Skip to content

Commit dd97c84

Browse files
committed
Match 64972ad..1786350
1 parent 5c61a83 commit dd97c84

File tree

19 files changed

+22
-25
lines changed

19 files changed

+22
-25
lines changed

src/components/i2c/WipperSnapper_I2C.cpp

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1175,9 +1175,6 @@ bool WipperSnapper_Component_I2C::Handle_I2cDeviceOutputWrite(
11751175
// Create a ptr to the base driver out
11761176
WipperSnapper_I2C_Driver_Out *driver_out = nullptr;
11771177
// Find the matching driver by address in the _drivers_out vector
1178-
// TODO: Refactor this outwards
1179-
WS_DEBUG_PRINT("Searching for i2c output driver with address: ");
1180-
WS_DEBUG_PRINT(msgDeviceWrite->i2c_device_address);
11811178
for (size_t i = 0; i < _drivers_out.size(); i++) {
11821179
if (_drivers_out[i]->getI2CAddress() ==
11831180
msgDeviceWrite->i2c_device_address) {
@@ -1186,7 +1183,7 @@ bool WipperSnapper_Component_I2C::Handle_I2cDeviceOutputWrite(
11861183
}
11871184
}
11881185
if (driver_out == nullptr) {
1189-
WS_DEBUG_PRINTLN("ERROR: Driver not found within drivers_out!");
1186+
WS_DEBUG_PRINTLN("ERROR: I2c output driver not found within drivers_out!");
11901187
return false;
11911188
}
11921189

@@ -1203,7 +1200,7 @@ bool WipperSnapper_Component_I2C::Handle_I2cDeviceOutputWrite(
12031200
driver_out->WriteMessageSSD1306(
12041201
msgDeviceWrite->output_msg.write_ssd1306.message);
12051202
} else {
1206-
WS_DEBUG_PRINTLN("ERROR: Unknown output message type!");
1203+
WS_DEBUG_PRINTLN("ERROR: Unknown i2c output message type!");
12071204
return false;
12081205
}
12091206
return true;

src/wippersnapper/description/v1/description.pb.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* Automatically generated nanopb constant definitions */
2-
/* Generated by nanopb-0.4.5-dev at Thu Jun 5 15:39:11 2025. */
2+
/* Generated by nanopb-0.4.5-dev at Fri Jun 6 19:48:16 2025. */
33

44
#include "wippersnapper/description/v1/description.pb.h"
55
#if PB_PROTO_HEADER_VERSION != 40

src/wippersnapper/description/v1/description.pb.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* Automatically generated nanopb header */
2-
/* Generated by nanopb-0.4.5-dev at Thu Jun 5 15:39:11 2025. */
2+
/* Generated by nanopb-0.4.5-dev at Fri Jun 6 19:48:16 2025. */
33

44
#ifndef PB_WIPPERSNAPPER_DESCRIPTION_V1_WIPPERSNAPPER_DESCRIPTION_V1_DESCRIPTION_PB_H_INCLUDED
55
#define PB_WIPPERSNAPPER_DESCRIPTION_V1_WIPPERSNAPPER_DESCRIPTION_V1_DESCRIPTION_PB_H_INCLUDED

src/wippersnapper/ds18x20/v1/ds18x20.pb.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* Automatically generated nanopb constant definitions */
2-
/* Generated by nanopb-0.4.5-dev at Thu Jun 5 15:39:11 2025. */
2+
/* Generated by nanopb-0.4.5-dev at Fri Jun 6 19:48:16 2025. */
33

44
#include "wippersnapper/ds18x20/v1/ds18x20.pb.h"
55
#if PB_PROTO_HEADER_VERSION != 40

src/wippersnapper/ds18x20/v1/ds18x20.pb.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* Automatically generated nanopb header */
2-
/* Generated by nanopb-0.4.5-dev at Thu Jun 5 15:39:11 2025. */
2+
/* Generated by nanopb-0.4.5-dev at Fri Jun 6 19:48:16 2025. */
33

44
#ifndef PB_WIPPERSNAPPER_DS18X20_V1_WIPPERSNAPPER_DS18X20_V1_DS18X20_PB_H_INCLUDED
55
#define PB_WIPPERSNAPPER_DS18X20_V1_WIPPERSNAPPER_DS18X20_V1_DS18X20_PB_H_INCLUDED

src/wippersnapper/i2c/v1/i2c.pb.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* Automatically generated nanopb constant definitions */
2-
/* Generated by nanopb-0.4.5-dev at Thu Jun 5 15:39:11 2025. */
2+
/* Generated by nanopb-0.4.5-dev at Fri Jun 6 19:48:16 2025. */
33

44
#include "wippersnapper/i2c/v1/i2c.pb.h"
55
#if PB_PROTO_HEADER_VERSION != 40

src/wippersnapper/i2c/v1/i2c.pb.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* Automatically generated nanopb header */
2-
/* Generated by nanopb-0.4.5-dev at Thu Jun 5 15:39:11 2025. */
2+
/* Generated by nanopb-0.4.5-dev at Fri Jun 6 19:48:16 2025. */
33

44
#ifndef PB_WIPPERSNAPPER_I2C_V1_WIPPERSNAPPER_I2C_V1_I2C_PB_H_INCLUDED
55
#define PB_WIPPERSNAPPER_I2C_V1_WIPPERSNAPPER_I2C_V1_I2C_PB_H_INCLUDED
@@ -140,7 +140,7 @@ typedef struct _wippersnapper_i2c_v1_LEDBackpackConfig {
140140
} wippersnapper_i2c_v1_LEDBackpackConfig;
141141

142142
typedef struct _wippersnapper_i2c_v1_LEDBackpackWrite {
143-
char message[5];
143+
char message[128];
144144
} wippersnapper_i2c_v1_LEDBackpackWrite;
145145

146146
typedef struct _wippersnapper_i2c_v1_SSD1306Config {
@@ -572,7 +572,7 @@ extern const pb_msgdesc_t wippersnapper_i2c_v1_SSD1306Write_msg;
572572
#define wippersnapper_i2c_v1_CharLCDConfig_size 12
573573
#define wippersnapper_i2c_v1_SSD1306Config_size 14
574574
#define wippersnapper_i2c_v1_I2COutputAdd_size 16
575-
#define wippersnapper_i2c_v1_LEDBackpackWrite_size 6
575+
#define wippersnapper_i2c_v1_LEDBackpackWrite_size 130
576576
#define wippersnapper_i2c_v1_CharLCDWrite_size 132
577577
#define wippersnapper_i2c_v1_SSD1306Write_size 258
578578

src/wippersnapper/pin/v1/pin.pb.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* Automatically generated nanopb constant definitions */
2-
/* Generated by nanopb-0.4.5-dev at Thu Jun 5 15:39:11 2025. */
2+
/* Generated by nanopb-0.4.5-dev at Fri Jun 6 19:48:16 2025. */
33

44
#include "wippersnapper/pin/v1/pin.pb.h"
55
#if PB_PROTO_HEADER_VERSION != 40

src/wippersnapper/pin/v1/pin.pb.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* Automatically generated nanopb header */
2-
/* Generated by nanopb-0.4.5-dev at Thu Jun 5 15:39:11 2025. */
2+
/* Generated by nanopb-0.4.5-dev at Fri Jun 6 19:48:16 2025. */
33

44
#ifndef PB_WIPPERSNAPPER_PIN_V1_WIPPERSNAPPER_PIN_V1_PIN_PB_H_INCLUDED
55
#define PB_WIPPERSNAPPER_PIN_V1_WIPPERSNAPPER_PIN_V1_PIN_PB_H_INCLUDED

src/wippersnapper/pixels/v1/pixels.pb.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* Automatically generated nanopb constant definitions */
2-
/* Generated by nanopb-0.4.5-dev at Thu Jun 5 15:39:11 2025. */
2+
/* Generated by nanopb-0.4.5-dev at Fri Jun 6 19:48:16 2025. */
33

44
#include "wippersnapper/pixels/v1/pixels.pb.h"
55
#if PB_PROTO_HEADER_VERSION != 40

0 commit comments

Comments
 (0)