Menu

rev 139 won't compile due to a couple of typos

SHillier
2021-01-04
2021-01-06
  • SHillier

    SHillier - 2021-01-04

    Typo in myBoards.cpp:

    sketch\myBoards.cpp: In member function 'void DriverBoard::initmove(bool, long unsigned int, byte, bool, bool)':
    myBoards.cpp:511:18: error: 'DebugPrintt' was not declared in this scope
    DebugPrintt(dir);

    Looks like another typo on the line previous to one indicated below. myFP2ESP.ino line 614 only has "myoled." on it.

    src\myFP2ESP\myFP2ESP.ino: In function 'void close_oledtextdisplay()':
    myFP2ESP:615:5: error: request for member 'mySetupData' in 'myoled', which is of pointer type 'SSD1306AsciiWire*' (maybe you meant to use '->' ?)
    mySetupData->set_displayenabled(0);
    ^

    I didn't know the intent or see any references to close_oledtextdisplay() so I commented it out and fixed the other typo in my copy. I then got a clean compile for a PRO2ESP32DRV8825 board with the following enabled:
    - OLED_TEXT
    - HOMEPOSITIONSWITCH
    - INFRAREDREMOTE
    - STATIONMODE
    - OTAUPDATES
    - MDNSSERVER
    - READWIFICONFIG

     
  • brownrb

    brownrb - 2021-01-05

    I uploaded a firmware update today

     
  • SHillier

    SHillier - 2021-01-06

    Thanks. Verified it compiles and also verified that all functions I have configured seem to work.

     

Log in to post a comment.