I/rmt_storage( 187): wakelock acquired: 1, error no: 110

一直出現 I/rmt_storage(  187): wakelock acquired: 1, error no: 110

看似不影響系統功能, 但會影響logcat 輸出


./device/asus/flo/self-extractors/qcom/staging/device-partial.mk:40:    vendor/qcom/flo/proprietary/rmt_storage:system/bin/rmt_storage:qcom \

./vendor/qcom/flo/device-partial.mk:39:    vendor/qcom/flo/proprietary/rmt_storage:system/bin/rmt_storage:qcom \


拿掉 device-partial.mk 包含 vendor/qcom/flo/proprietary/rmt_storage  的這兩行

記得要 rm ./out/target/product/mako/system/bin/rmt_storage 再重make, 這樣才會真的移除 rmt_storage



-----------------------------------

在 Nexus 4, KRT16S如下log會一直出現

I/rmt_storage( 2124): Target is APQ8064: -1225622090
I/rmt_storage( 2124): Unable to open /dev/mem

device/lge./mako/self-extractors/qcom/staging/device-partial.mk:35:    vendor/qcom/mako/proprietary/rmt_storage:system/bin/rmt_storage:qcom \
vendor/qcom/mako/device-partial.mk:35:    vendor/qcom/mako/proprietary/rmt_storage:system/bin/rmt_storage:qcom \

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
static void blink_led(void) { /* If the addressable LED is enabled */ if (s_led_state) { /* Set the LED pixel using RGB from 0 (0%) to 255 (100%) for each color */ led_strip_set_pixel(led_strip, 0, 16, 16, 16); /* Refresh the strip to send data */ led_strip_refresh(led_strip); } else { /* Set all LED off to clear all pixels */ led_strip_clear(led_strip); } } static void configure_led(void) { ESP_LOGI(TAG, "Example configured to blink addressable LED!"); /* LED strip initialization with the GPIO and pixels number*/ led_strip_config_t strip_config = { .strip_gpio_num = BLINK_GPIO, .max_leds = 1, // at least one LED on board }; led_strip_rmt_config_t rmt_config = { .resolution_hz = 10 * 1000 * 1000, // 10MHz }; ESP_ERROR_CHECK(led_strip_new_rmt_device(&strip_config, &rmt_config, &led_strip)); /* Set all LED off to clear all pixels */ led_strip_clear(led_strip); } #elif CONFIG_BLINK_LED_GPIO static void blink_led(void) { /* Set the GPIO level according to the state (LOW or HIGH)*/ gpio_set_level(BLINK_GPIO, s_led_state); } static void configure_led(void) { ESP_LOGI(TAG, "Example configured to blink GPIO LED!"); gpio_reset_pin(BLINK_GPIO); /* Set the GPIO as a push/pull output */ gpio_set_direction(BLINK_GPIO, GPIO_MODE_OUTPUT); } #endif void app_main(void) { /* Configure the peripheral according to the LED type */ configure_led(); while (1) { ESP_LOGI(TAG, "Turning the LED %s!", s_led_state == true ? "ON" : "OFF"); blink_led(); /* Toggle the LED state */ s_led_state = !s_led_state; vTaskDelay(CONFIG_BLINK_PERIOD / portTICK_PERIOD_MS); } }
最新发布
05-25
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值