diff options
Diffstat (limited to 'src/app.c')
-rw-r--r-- | src/app.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -369,6 +369,9 @@ static bool service_app_create(void *data) controller_connection_manager_set_user_name_received_cb(__user_name_received_cb); resource_bi_led_set(LED_COLOR_RED); + resource_rgb_gpio_set(0, 0, 1); + resource_rgb_l2c_set(0, 0, 255); + return true; } @@ -392,6 +395,8 @@ static void service_app_terminate(void *data) { app_data *ad = data; resource_bi_led_set(LED_COLOR_NONE); + resource_rgb_gpio_set(0, 0, 0); + resource_rgb_l2c_set(0, 0, 0); resource_set_servo_motor_value(s_info.stering_pin, STERING_SERVO_CENTER); resource_set_servo_motor_value(s_info.elevation_pin, ELEVATION_MIN); |