Skip to content

Commit ae85009

Browse files
committed
[BUG]修复已知bug
1 parent d819928 commit ae85009

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

exe/pinout-generator.exe

0 Bytes
Binary file not shown.

project/fileout.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,8 @@ void Widget::write_data_to_kconfig()
261261
{
262262
out << i;
263263
}
264-
out << " imply RTDUINO_USING_SERVO\n";
264+
if(varlist.at(pwmindex) == " select BSP_USING_PWM\n")
265+
out << " imply RTDUINO_USING_SERVO\n";
265266
if(ui->i2cdevbox->currentText() != "NULL")
266267
out << " imply RTDUINO_USING_WIRE\n";
267268
if(ui->spidevbox->currentText() != "NULL")

0 commit comments

Comments
 (0)