remove solo functions from device.h

This commit is contained in:
Conor Patrick
2019-11-19 16:02:46 -05:00
parent 28e607ddac
commit 3b4b6dd4fe
5 changed files with 27 additions and 24 deletions

View File

@@ -8,6 +8,7 @@
#define _APP_H_
#include <stdint.h>
#include "version.h"
#include "solo.h"
#define SOLO

View File

@@ -285,7 +285,7 @@ static void device_migrate(){
}
}
void device_init(int argc, char *argv[])
void device_init()
{
hw_init(LOW_FREQUENCY);

View File

@@ -0,0 +1,22 @@
#ifndef _SOLO_H_
#define _SOLO_H_
void device_init();
void main_loop_delay();
void heartbeat();
// Called each main loop. Doesn't need to do anything.
void device_manage();
void device_init_button();
// For Solo hacker
void boot_solo_bootloader();
void boot_st_bootloader();
void delay(uint32_t ms);
#endif