Skip to content
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Troubleshooting
  3. 'getConfig' was not declared in this scope (V2.1.1) - FIXED
  • Getting Started
  • Controller
  • Build
  • Hardware
  • Download/API
  • Forum
  • Store

'getConfig' was not declared in this scope (V2.1.1) - FIXED

Scheduled Pinned Locked Moved Troubleshooting
7 Posts 5 Posters 7.1k Views 5 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Mark SwiftM Offline
    Mark SwiftM Offline
    Mark Swift
    wrote on last edited by Mark Swift
    #1

    Hi Guys,

    After upgrading to version 2.1.1 from 2.0.0 I'm getting this error... It worked fine before?

    I guess something has changed?

    1 Reply Last reply
    0
    • Mark SwiftM Offline
      Mark SwiftM Offline
      Mark Swift
      wrote on last edited by
      #2

      Fixed, seems in V2.1.1 it changed to "getControllerConfig".

      1 Reply Last reply
      4
      • MadhiasM Offline
        MadhiasM Offline
        Madhias
        wrote on last edited by
        #3

        Thanks, had the same problem!

        1 Reply Last reply
        1
        • meanmrgreenM Offline
          meanmrgreenM Offline
          meanmrgreen
          wrote on last edited by meanmrgreen
          #4

          Thank you :)
          Where can you find these changes?

          mfalkviddM 1 Reply Last reply
          0
          • meanmrgreenM meanmrgreen

            Thank you :)
            Where can you find these changes?

            mfalkviddM Offline
            mfalkviddM Offline
            mfalkvidd
            Mod
            wrote on last edited by
            #5

            @meanmrgreen in the git history? https://github.com/mysensors/MySensors/commit/92cbd2ac8f49fe2f8cb25726e08aac9ecd597b84

            1 Reply Last reply
            1
            • N Offline
              N Offline
              Newzwaver
              wrote on last edited by
              #6

              Can't find out how to actually fix this error. Any wording to point me in the correct direction?

              MadhiasM 1 Reply Last reply
              0
              • N Newzwaver

                Can't find out how to actually fix this error. Any wording to point me in the correct direction?

                MadhiasM Offline
                MadhiasM Offline
                Madhias
                wrote on last edited by
                #7

                @Newzwaver If I remember correctly you have to change in your sketches from getConfig() to getControllerConfig()

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                7

                Online

                11.7k

                Users

                11.2k

                Topics

                113.0k

                Posts


                Copyright 2019 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • OpenHardware.io
                • Categories
                • Recent
                • Tags
                • Popular