|
|
|
@ -394,7 +394,7 @@ const LogStructure Rover::log_structure[] PROGMEM = {
@@ -394,7 +394,7 @@ const LogStructure Rover::log_structure[] PROGMEM = {
|
|
|
|
|
|
|
|
|
|
void Rover::log_init(void) |
|
|
|
|
{ |
|
|
|
|
DataFlash.Init(log_structure, sizeof(log_structure)/sizeof(log_structure[0])); |
|
|
|
|
DataFlash.Init(log_structure, ARRAY_SIZE(log_structure)); |
|
|
|
|
if (!DataFlash.CardInserted()) { |
|
|
|
|
gcs_send_text_P(SEVERITY_LOW, PSTR("No dataflash card inserted")); |
|
|
|
|
g.log_bitmask.set(0); |
|
|
|
|