Disable esp8266 wifi led

Hello. I’m using demo-c code as a start point to a project. I wish to control the built int led (gpio2), with no success. The following code is the last part of mgos_app_init():

mgos_gpio_set_mode(2, MGOS_GPIO_MODE_OUTPUT);
mgos_gpio_write(2,0);

But the led keeps blinking… How can I disable the relation between wifi and this led, to full control it?

solved it including the following lines in the mos.yml

config_schema:
  - ["board.led1.pin", -1]
  - ["provision.led.pin", -1]