File tree Expand file tree Collapse file tree 19 files changed +22
-25
lines changed Expand file tree Collapse file tree 19 files changed +22
-25
lines changed Original file line number Diff line number Diff line change @@ -1175,9 +1175,6 @@ bool WipperSnapper_Component_I2C::Handle_I2cDeviceOutputWrite(
1175
1175
// Create a ptr to the base driver out
1176
1176
WipperSnapper_I2C_Driver_Out *driver_out = nullptr ;
1177
1177
// 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 );
1181
1178
for (size_t i = 0 ; i < _drivers_out.size (); i++) {
1182
1179
if (_drivers_out[i]->getI2CAddress () ==
1183
1180
msgDeviceWrite->i2c_device_address ) {
@@ -1186,7 +1183,7 @@ bool WipperSnapper_Component_I2C::Handle_I2cDeviceOutputWrite(
1186
1183
}
1187
1184
}
1188
1185
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!" );
1190
1187
return false ;
1191
1188
}
1192
1189
@@ -1203,7 +1200,7 @@ bool WipperSnapper_Component_I2C::Handle_I2cDeviceOutputWrite(
1203
1200
driver_out->WriteMessageSSD1306 (
1204
1201
msgDeviceWrite->output_msg .write_ssd1306 .message );
1205
1202
} else {
1206
- WS_DEBUG_PRINTLN (" ERROR: Unknown output message type!" );
1203
+ WS_DEBUG_PRINTLN (" ERROR: Unknown i2c output message type!" );
1207
1204
return false ;
1208
1205
}
1209
1206
return true ;
Original file line number Diff line number Diff line change 1
1
/* 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. */
3
3
4
4
#include "wippersnapper/description/v1/description.pb.h"
5
5
#if PB_PROTO_HEADER_VERSION != 40
Original file line number Diff line number Diff line change 1
1
/* 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. */
3
3
4
4
#ifndef PB_WIPPERSNAPPER_DESCRIPTION_V1_WIPPERSNAPPER_DESCRIPTION_V1_DESCRIPTION_PB_H_INCLUDED
5
5
#define PB_WIPPERSNAPPER_DESCRIPTION_V1_WIPPERSNAPPER_DESCRIPTION_V1_DESCRIPTION_PB_H_INCLUDED
Original file line number Diff line number Diff line change 1
1
/* 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. */
3
3
4
4
#include "wippersnapper/ds18x20/v1/ds18x20.pb.h"
5
5
#if PB_PROTO_HEADER_VERSION != 40
Original file line number Diff line number Diff line change 1
1
/* 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. */
3
3
4
4
#ifndef PB_WIPPERSNAPPER_DS18X20_V1_WIPPERSNAPPER_DS18X20_V1_DS18X20_PB_H_INCLUDED
5
5
#define PB_WIPPERSNAPPER_DS18X20_V1_WIPPERSNAPPER_DS18X20_V1_DS18X20_PB_H_INCLUDED
Original file line number Diff line number Diff line change 1
1
/* 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. */
3
3
4
4
#include "wippersnapper/i2c/v1/i2c.pb.h"
5
5
#if PB_PROTO_HEADER_VERSION != 40
Original file line number Diff line number Diff line change 1
1
/* 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. */
3
3
4
4
#ifndef PB_WIPPERSNAPPER_I2C_V1_WIPPERSNAPPER_I2C_V1_I2C_PB_H_INCLUDED
5
5
#define PB_WIPPERSNAPPER_I2C_V1_WIPPERSNAPPER_I2C_V1_I2C_PB_H_INCLUDED
@@ -140,7 +140,7 @@ typedef struct _wippersnapper_i2c_v1_LEDBackpackConfig {
140
140
} wippersnapper_i2c_v1_LEDBackpackConfig ;
141
141
142
142
typedef struct _wippersnapper_i2c_v1_LEDBackpackWrite {
143
- char message [5 ];
143
+ char message [128 ];
144
144
} wippersnapper_i2c_v1_LEDBackpackWrite ;
145
145
146
146
typedef struct _wippersnapper_i2c_v1_SSD1306Config {
@@ -572,7 +572,7 @@ extern const pb_msgdesc_t wippersnapper_i2c_v1_SSD1306Write_msg;
572
572
#define wippersnapper_i2c_v1_CharLCDConfig_size 12
573
573
#define wippersnapper_i2c_v1_SSD1306Config_size 14
574
574
#define wippersnapper_i2c_v1_I2COutputAdd_size 16
575
- #define wippersnapper_i2c_v1_LEDBackpackWrite_size 6
575
+ #define wippersnapper_i2c_v1_LEDBackpackWrite_size 130
576
576
#define wippersnapper_i2c_v1_CharLCDWrite_size 132
577
577
#define wippersnapper_i2c_v1_SSD1306Write_size 258
578
578
Original file line number Diff line number Diff line change 1
1
/* 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. */
3
3
4
4
#include "wippersnapper/pin/v1/pin.pb.h"
5
5
#if PB_PROTO_HEADER_VERSION != 40
Original file line number Diff line number Diff line change 1
1
/* 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. */
3
3
4
4
#ifndef PB_WIPPERSNAPPER_PIN_V1_WIPPERSNAPPER_PIN_V1_PIN_PB_H_INCLUDED
5
5
#define PB_WIPPERSNAPPER_PIN_V1_WIPPERSNAPPER_PIN_V1_PIN_PB_H_INCLUDED
Original file line number Diff line number Diff line change 1
1
/* 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. */
3
3
4
4
#include "wippersnapper/pixels/v1/pixels.pb.h"
5
5
#if PB_PROTO_HEADER_VERSION != 40
You can’t perform that action at this time.
0 commit comments