fix: O-1PS not recognized

This commit is contained in:
Phat Nguyen
2024-03-06 17:20:55 +07:00
parent 6cf5e31843
commit 469d07a2d6
7 changed files with 133 additions and 41 deletions

View File

@ -25,7 +25,7 @@ void setup()
if (ag.s8.begin(&Serial) == false)
{
#else
if (ag.s8.begin(Serial1) == false)
if (ag.s8.begin(Serial0) == false)
{
#endif
failedHandler("SenseAir S8 init failed");