Killshock52

error

Jan 26th, 2022 (edited)
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.22 KB | None | 0 0
  1. Arduino: 1.8.16 (Windows 10), TD: 1.55, Board: "Proffieboard V2, Serial + WebUSB, SDCARD (SPI), 80 MHz, Smallest Code"
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23. In file included from C:\Users\shock\Desktop\ProffieOS-v6.5\ProffieOS\ProffieOS.ino:563:
  24.  
  25. C:\Users\shock\Desktop\ProffieOS-v6.5\ProffieOS\config\1Viresaber_config.h:70:74: error: cannot convert 'BladeBase*' to 'Preset*' in initialization
  26.  
  27. 70 | WS281XBladePtr<6, blade2Pin, Color8::GRB, PowerPINS<bladePowerPin4> >()
  28.  
  29. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
  30.  
  31. | |
  32.  
  33. | BladeBase*
  34.  
  35. In file included from C:\Users\shock\Desktop\ProffieOS-v6.5\ProffieOS\ProffieOS.ino:537:
  36.  
  37. C:\Users\shock\Desktop\ProffieOS-v6.5\ProffieOS\config\1Viresaber_config.h:71:17: error: invalid conversion from 'Preset*' to 'size_t' {aka 'unsigned int'} [-fpermissive]
  38.  
  39. 71 | , CONFIGARRAY(presets) },
  40.  
  41. | ^~~~~~~
  42.  
  43. | |
  44.  
  45. | Preset*
  46.  
  47. C:\Users\shock\Desktop\ProffieOS-v6.5\ProffieOS\common\preset.h:6:24: note: in definition of macro 'CONFIGARRAY'
  48.  
  49. 6 | #define CONFIGARRAY(X) X, NELEM(X)
  50.  
  51. | ^
  52.  
  53. ProffieOS:299:28: error: invalid conversion from 'unsigned int' to 'const char*' [-fpermissive]
  54.  
  55. 299 | #define NELEM(X) (sizeof(X)/sizeof((X)[0]))
  56.  
  57. | ~~~~~~~~~~^~~~~~~~~~~~~~~~
  58.  
  59. | |
  60.  
  61. | unsigned int
  62.  
  63. C:\Users\shock\Desktop\ProffieOS-v6.5\ProffieOS\common\preset.h:6:27: note: in expansion of macro 'NELEM'
  64.  
  65. 6 | #define CONFIGARRAY(X) X, NELEM(X)
  66.  
  67. | ^~~~~
  68.  
  69. C:\Users\shock\Desktop\ProffieOS-v6.5\ProffieOS\config\1Viresaber_config.h:71:5: note: in expansion of macro 'CONFIGARRAY'
  70.  
  71. 71 | , CONFIGARRAY(presets) },
  72.  
  73. | ^~~~~~~~~~~
  74.  
  75. exit status 1
  76.  
  77. invalid conversion from 'unsigned int' to 'const char*' [-fpermissive]
  78.  
  79.  
  80.  
  81. This report would have more information with
  82. "Show verbose output during compilation"
  83. option enabled in File -> Preferences.
  84.  
Add Comment
Please, Sign In to add comment