Fix example-names mentioned in warning messages

This commit is contained in:
Andrew Scheller
2021-03-01 16:11:42 +00:00
committed by Graham Sanderson
parent 9f1b4384ce
commit a5363d18a6
2 changed files with 2 additions and 2 deletions

View File

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