archive old bbnow driver
This commit is contained in:
+10
-4
@@ -7,8 +7,10 @@
|
||||
#include "blk_box_drivers/ssegs.hpp"
|
||||
#include "blk_box_drivers/tft.hpp"
|
||||
#include "blk_box_drivers/nvs.hpp"
|
||||
#include "blk_box_drivers/radio.hpp"
|
||||
#include "blk_box_drivers/bbnow.hpp"
|
||||
// #include "blk_box_drivers/radio.hpp"
|
||||
// #include "blk_box_drivers/.hpp"
|
||||
#include "blk_box_drivers/wifi.hpp"
|
||||
#include "bbnow_driver.hpp"
|
||||
|
||||
void init_blk_box(BlkBoxInitConfig cfg) {
|
||||
init_main_i2c();
|
||||
@@ -19,6 +21,10 @@ void init_blk_box(BlkBoxInitConfig cfg) {
|
||||
init_tft();
|
||||
|
||||
init_nvs();
|
||||
init_radio();
|
||||
init_espnow();
|
||||
// TODO: should I move everything over to the Class/Namespace style??
|
||||
|
||||
ESP_ERROR_CHECK(Wifi::init());
|
||||
ESP_ERROR_CHECK(BBNowDriver::init());
|
||||
// init_radio();
|
||||
// init_espnow();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user