diff options
| author | Sadeep Madurange <sadeep@asciimx.com> | 2025-11-01 09:46:52 +0800 |
|---|---|---|
| committer | Sadeep Madurange <sadeep@asciimx.com> | 2025-11-01 09:46:52 +0800 |
| commit | 9f938ab8ba5af561bd44dbc7142f338ce317a01a (patch) | |
| tree | 7104ce2ac9456c5895f752eff26bad31f8436978 /esp32/main/stock.h | |
| download | etlas-9f938ab8ba5af561bd44dbc7142f338ce317a01a.tar.gz | |
Etlas project.
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 */ |
