format code

This commit is contained in:
sakimisu
2023-02-18 19:20:35 +08:00
parent 6ada1e0260
commit cc4ed56a88

View File

@@ -40,7 +40,7 @@ extern "C" {
#elif defined(__GNUC__)
#define CLASS_INFO_DEFINE __attribute__((section(".usbh_class_info"))) __USED __ALIGNED(1)
#elif defined(__ICCARM__) || defined(__ICCRX__)
#pragma section="usbh_class_info"
#pragma section = "usbh_class_info"
#define CLASS_INFO_DEFINE __attribute__((section("usbh_class_info"))) __USED __ALIGNED(1)
#endif