thiagoralves / OpenPLC_Editor

OpenPLC Editor - IDE capable of creating programs for the OpenPLC Runtime
GNU General Public License v2.0
429 stars 207 forks source link

Adapt to Keil MDK compiler #120

Closed xiaohh2000 closed 2 months ago

xiaohh2000 commented 4 months ago
  1. Remove Keil MDK errors by removing the type cast.
  2. Change from sin() to sinf(), since the double is used in sin() while float is used in sinf(), float is good enough for embedded system.