diff options
Diffstat (limited to 'esp32/main/stock.h')
| -rw-r--r-- | esp32/main/stock.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/esp32/main/stock.h b/esp32/main/stock.h new file mode 100644 index 0000000..0e2d56e --- /dev/null +++ b/esp32/main/stock.h @@ -0,0 +1,18 @@ +#ifndef STOCK_H +#define STOCK_H + +#define TICKER_LEN 25 + +struct stock_data { + char ticker[TICKER_LEN]; + int *prices; + int price_min; + int price_max; + int price_ref; + int prices_len; + int prices_maxlen; +}; + +void stock_get_data(struct stock_data *sd); + +#endif /* STOCK_H */ |
