Skip to content

Normalize .cc extensions to .cpp #44517

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 11, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@

#include <tensorflow/lite/micro/all_ops_resolver.h>
#include "constants.h"
#include "model.h"
#include "output_handler.h"
#include "model.hpp"
#include "output_handler.hpp"
#include <tensorflow/lite/micro/micro_error_reporter.h>
#include <tensorflow/lite/micro/micro_interpreter.h>
#include <tensorflow/lite/micro/system_setup.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
* See train/README.md for a full description of the creation process.
*/

#include "model.h"
#include "model.hpp"

/* Keep model aligned to 8 bytes to guarantee aligned 64-bit accesses. */
alignas(8) const unsigned char g_model[] = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

#include "output_handler.h"
#include "output_handler.hpp"

void HandleOutput(tflite::ErrorReporter *error_reporter, float x_value,
float y_value)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

#include "accelerometer_handler.h"
#include "accelerometer_handler.hpp"

#include <device.h>
#include <drivers/sensor.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
* limitations under the License.
*/

#include "gesture_predictor.h"
#include "gesture_predictor.hpp"

#include "constants.h"
#include "constants.hpp"

namespace {
/* State for the averaging algorithm we're using. */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
* See the README for a full description of the creation process.
*/

#include "magic_wand_model_data.h"
#include "magic_wand_model_data.hpp"

/* Keep model aligned to 8 bytes to guarantee aligned 64-bit accesses. */
alignas(8) const unsigned char g_magic_wand_model_data[] = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

#include "main_functions.h"
#include "main_functions.hpp"

/* This is the default main used on systems that have the standard C entry
* point. Other devices (for example FreeRTOS or ESP32) that have different
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
* limitations under the License.
*/

#include "main_functions.h"
#include "main_functions.hpp"

#include "accelerometer_handler.h"
#include "constants.h"
#include "gesture_predictor.h"
#include "magic_wand_model_data.h"
#include "output_handler.h"
#include "accelerometer_handler.hpp"
#include "constants.hpp"
#include "gesture_predictor.hpp"
#include "magic_wand_model_data.hpp"
#include "output_handler.hpp"
#include <tensorflow/lite/micro/micro_error_reporter.h>
#include <tensorflow/lite/micro/micro_interpreter.h>
#include <tensorflow/lite/micro/micro_mutable_op_resolver.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

#include "output_handler.h"
#include "output_handler.hpp"

void HandleOutput(tflite::ErrorReporter *error_reporter, int kind)
{
Expand Down