Browse Source

Rename storage.? -> config.?

The "storage" source code files contained lots of stuff with "config" in
the name, but nothing named "storage".  This was unlike every other part
of the firmware, so I renamed the files to "config".
Clara Hobbs 6 years ago
parent
commit
8822393ae6
4 changed files with 6 additions and 6 deletions
  1. 1
    1
      src/config.c
  2. 3
    3
      src/config.h
  3. 1
    1
      src/device_policy_manager.c
  4. 1
    1
      src/shell.c

src/storage.c → src/config.c View File

16
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
16
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
17
  */
17
  */
18
 
18
 
19
-#include "storage.h"
19
+#include "config.h"
20
 
20
 
21
 #include "chprintf.h"
21
 #include "chprintf.h"
22
 
22
 

src/storage.h → src/config.h View File

16
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
16
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
17
  */
17
  */
18
 
18
 
19
-#ifndef PDB_STORAGE_H
20
-#define PDB_STORAGE_H
19
+#ifndef PDB_CONFIG_H
20
+#define PDB_CONFIG_H
21
 
21
 
22
 #include <stdint.h>
22
 #include <stdint.h>
23
 
23
 
88
 struct pdb_config *pdb_config_flash_read(void);
88
 struct pdb_config *pdb_config_flash_read(void);
89
 
89
 
90
 
90
 
91
-#endif /* PDB_STORAGE_H */
91
+#endif /* PDB_CONFIG_H */

+ 1
- 1
src/device_policy_manager.c View File

23
 #include <hal.h>
23
 #include <hal.h>
24
 
24
 
25
 #include "led.h"
25
 #include "led.h"
26
-#include "storage.h"
26
+#include "config.h"
27
 #include "pd.h"
27
 #include "pd.h"
28
 
28
 
29
 
29
 

+ 1
- 1
src/shell.c View File

40
 #include "chprintf.h"
40
 #include "chprintf.h"
41
 
41
 
42
 #include "usbcfg.h"
42
 #include "usbcfg.h"
43
-#include "storage.h"
43
+#include "config.h"
44
 #include "led.h"
44
 #include "led.h"
45
 #include "device_policy_manager.h"
45
 #include "device_policy_manager.h"
46
 #include "policy_engine.h"
46
 #include "policy_engine.h"

Loading…
Cancel
Save