reset_reason.c 479 B

123456789101112131415161718
  1. /*
  2. * SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. */
  6. /*
  7. * All functions presented here are stubs for the POSIX/Linux implementation of FreeRTOS.
  8. * They are meant to allow to compile, but they DO NOT return any meaningful value.
  9. */
  10. #include "esp_system.h"
  11. // On Linux, this is just a meaningful value to make applications build and run
  12. esp_reset_reason_t esp_reset_reason(void)
  13. {
  14. return ESP_RST_POWERON;
  15. }