Verified Commit 55991532 authored by Rahix's avatar Rahix
Browse files

chore(pycardium): Reorder includes



Signed-off-by: Rahix's avatarRahix <rahix@rahix.de>
parent d293ce3c
#include "py/runtime.h"
#include "py/gc.h"
#include "max32665.h"
#include "lib/utils/pyexec.h"
#include "py/gc.h"
#include "py/runtime.h"
#include "py/stackctrl.h"
#include <stdio.h>
#include "max32665.h"
#include <stdio.h>
/* Defined in linker script */
extern void *__StackTop, *__StackLimit;
......
#include "mphalport.h"
#include "api/common.h"
#include "epicardium.h"
#include "py/builtin.h"
#include "py/obj.h"
#include "py/runtime.h"
#include "py/builtin.h"
#include "epicardium.h"
#include "api/common.h"
#include "mphalport.h"
// TODO: these should be intialized as mp_const_none
mp_obj_t callbacks[EPIC_INT_NUM] = {
......
#include "epicardium.h"
#include "py/obj.h"
#include "py/objlist.h"
#include "py/runtime.h"
#include "epicardium.h"
static mp_obj_t mp_leds_set(mp_obj_t led_in, mp_obj_t color_in)
{
int led = mp_obj_get_int(led_in);
......
#include "epicardium.h"
#include "py/builtin.h"
#include "py/obj.h"
#include "py/runtime.h"
#include "py/builtin.h"
#include "epicardium.h"
static mp_obj_t mp_light_sensor_start()
{
......
#include "epicardium.h"
#include "py/obj.h"
#include "py/objstr.h"
#include "py/objint.h"
#include "py/objstr.h"
#include "py/runtime.h"
#include "epicardium.h"
#include <stdio.h>
static uint16_t rgb888_to_rgb565(uint8_t *bytes)
......
#include "py/mpconfig.h"
#include "extmod/utime_mphal.h"
#include "mxc_delay.h"
#include "extmod/utime_mphal.h"
#include "py/mpconfig.h"
static const mp_rom_map_elem_t time_module_globals_table[] = {
{ MP_ROM_QSTR(MP_QSTR___name__), MP_ROM_QSTR(MP_QSTR_utime) },
{ MP_ROM_QSTR(MP_QSTR_sleep), MP_ROM_PTR(&mp_utime_sleep_obj) },
......
#include "epicardium.h"
#include "py/builtin.h"
#include "py/obj.h"
#include "py/runtime.h"
#include "py/builtin.h"
#include "epicardium.h"
static mp_obj_t mp_vibra_set(mp_obj_t state_obj)
{
......
#include <stdint.h>
#include "api/common.h"
#include "epicardium.h"
#include "max32665.h"
#include "mxc_delay.h"
#include "tmr.h"
/* stdarg.h must be included before mpprint.h */
#include <stdarg.h>
#include <stdio.h>
#include <string.h>
#include "py/lexer.h"
#include "py/mpconfig.h"
......@@ -11,12 +16,9 @@
#include "py/runtime.h"
#include "py/mpprint.h"
#include "mxc_delay.h"
#include "max32665.h"
#include "tmr.h"
#include "epicardium.h"
#include "api/common.h"
#include <stdint.h>
#include <stdio.h>
#include <string.h>
/******************************************************************************
* Serial Communication
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment