Advertisement
Sabersense

Not Charging

Jun 9th, 2025
27
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.24 KB | None | 0 0
  1. Arduino: 1.8.19 (Mac OS X), Board: "Proffieboard V2, Serial + WebUSB, SDCARD (SPI), 80 MHz, Smallest Code"
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13. In file included from /Users/chrisandlindsey/Desktop/ProffieOS/styles/fire.h:4,
  14. from /Users/chrisandlindsey/Desktop/ProffieOS/ProffieOS.ino:485:
  15. /Users/chrisandlindsey/Desktop/ProffieOS/styles/style_ptr.h: In instantiation of 'void ChargingStyle<T>::run(BladeBase*) [with T = Rgb<0, 0, 0>]':
  16. /Users/chrisandlindsey/Desktop/ProffieOS/styles/style_ptr.h:125:8: required from here
  17. /Users/chrisandlindsey/Desktop/ProffieOS/styles/style_ptr.h:126:14: error: 'Rgb<0, 0, 0> Style<Rgb<0, 0, 0> >::base_' is protected within this context
  18. 126 | RunStyle(&Style<T>::base_, blade);
  19. | ^~~~~~~~~~~~~~~~
  20. /Users/chrisandlindsey/Desktop/ProffieOS/styles/style_ptr.h:118:5: note: declared protected here
  21. 118 | T base_;
  22. | ^~~~~
  23. /Users/chrisandlindsey/Desktop/ProffieOS/styles/style_ptr.h:126:13: error: no matching function for call to 'RunStyle(Rgb<0, 0, 0> Style<Rgb<0, 0, 0> >::*, BladeBase*&)'
  24. 126 | RunStyle(&Style<T>::base_, blade);
  25. | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
  26. In file included from /Users/chrisandlindsey/Desktop/ProffieOS/blades/blade_base.h:20,
  27. from /Users/chrisandlindsey/Desktop/ProffieOS/ProffieOS.ino:453:
  28. /Users/chrisandlindsey/Desktop/ProffieOS/styles/blade_style.h:87:13: note: candidate: 'template<class T> bool RunStyle(T*, BladeBase*)'
  29. 87 | inline bool RunStyle(T* style, BladeBase* blade) {
  30. | ^~~~~~~~
  31. /Users/chrisandlindsey/Desktop/ProffieOS/styles/blade_style.h:87:13: note: template argument deduction/substitution failed:
  32. In file included from /Users/chrisandlindsey/Desktop/ProffieOS/styles/fire.h:4,
  33. from /Users/chrisandlindsey/Desktop/ProffieOS/ProffieOS.ino:485:
  34. /Users/chrisandlindsey/Desktop/ProffieOS/styles/style_ptr.h:126:13: note: mismatched types 'T*' and 'Rgb<0, 0, 0> Style<Rgb<0, 0, 0> >::*'
  35. 126 | RunStyle(&Style<T>::base_, blade);
  36. | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
  37. exit status 1
  38. Error compiling for board Proffieboard V2.
  39.  
  40.  
  41. This report would have more information with
  42. "Show verbose output during compilation"
  43. option enabled in File -> Preferences.
  44.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement