Skip to content

Commit df23bb6

Browse files
lurchkilograham
authored andcommitted
Fix example-names mentioned in warning messages
1 parent 68a1865 commit df23bb6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

i2c/lcd_1602_i2c/lcd_1602_i2c.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ void lcd_init() {
131131

132132
int main() {
133133
#if !defined(i2c_default) || !defined(PICO_DEFAULT_I2C_SDA_PIN) || !defined(PICO_DEFAULT_I2C_SCL_PIN)
134-
#warning i2c/bus_scan example requires a board with I2C pins
134+
#warning i2c/lcd_1602_i2c example requires a board with I2C pins
135135
#else
136136
// This example will use I2C0 on the default SDA and SCL pins (4, 5 on a Pico)
137137
i2c_init(i2c_default, 100 * 1000);

i2c/mpu6050_i2c/mpu6050_i2c.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ static void mpu6050_read_raw(int16_t accel[3], int16_t gyro[3], int16_t *temp) {
8080
int main() {
8181
stdio_init_all();
8282
#if !defined(i2c_default) || !defined(PICO_DEFAULT_I2C_SDA_PIN) || !defined(PICO_DEFAULT_I2C_SCL_PIN)
83-
#warning i2c/bus_scan example requires a board with I2C pins
83+
#warning i2c/mpu6050_i2c example requires a board with I2C pins
8484
puts("Default I2C pins were not defined");
8585
#else
8686
printf("Hello, MPU6050! Reading raw data from registers...\n");

0 commit comments

Comments
 (0)